ConsoleUser

Copyright (c) 2010-2023 Skaion Corporarion, www.skaion.com

This project was developed in part by numerous sponsorships from the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints of Governmental purposes notwithstanding any copyright notation thereon.

All content reflects those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the U.S. Government or Skaion Corporation.

class DesktopWindow.DesktopWindow(system, config, app=None)

This is a “window” that encompasses all of the desktop, not just a particular application window.

Parameters:

  • system: a handle to the remote <no title> on which this window “lives”

  • config: a <no title> object

  • app: if present, its a handle to the application controlling this Window

get_matched_region(regions)

This method will attempt to match every region in the regions parameter and will return the first one to be matched.

Parameters:

  • regions: a list of <no title> objects to try to match

Return: the first region in the list which is matched

has_focus()

It’s always possible to use the desktop

save_state()

Most windows try to find edges and title bars and so forth, but we do not need that for the desktop.