Back to index

unity  6.0.0
Public Member Functions | Static Public Attributes
unity.emulators.window_manager.WindowManager Class Reference
Inheritance diagram for unity.emulators.window_manager.WindowManager:
Inheritance graph
Collaboration diagram for unity.emulators.window_manager.WindowManager:
Collaboration graph

List of all members.

Public Member Functions

def screen_geometry
def enter_show_desktop
def leave_show_desktop

Static Public Attributes

string DBUS_SERVICE = "com.canonical.Unity"
string DBUS_OBJECT = "/com/canonical/Unity/Debug"

Detailed Description

The WindowManager class.

Definition at line 20 of file

Member Function Documentation

Definition at line 28 of file

00029     def enter_show_desktop(self):
00030         if not self.showdesktop_active:
00031   "Entering show desktop mode.")
00032             self.keybinding("window/show_desktop")
00033             self.showdesktop_active.wait_for(True)
00034         else:
00035             logger.warning("Test tried to enter show desktop mode while already \
00036                 in show desktop mode.")

Definition at line 37 of file

00038     def leave_show_desktop(self):
00039         if self.showdesktop_active:
00040   "Leaving show desktop mode.")
00041             self.keybinding("window/show_desktop")
00042             self.showdesktop_active.wait_for(False)
00043         else:
00044             logger.warning("Test tried to leave show desktop mode while not in \
00045                 show desktop mode.")
Returns a tuple of (x,y,w,h) for the screen.

Definition at line 24 of file

00025     def screen_geometry(self):
00026         """Returns a tuple of (x,y,w,h) for the screen."""
00027         return (self.x, self.y, self.width, self.height)

Here is the call graph for this function:

Member Data Documentation

string unity.emulators.UnityIntrospectionObject.DBUS_OBJECT = "/com/canonical/Unity/Debug" [static, inherited]

Definition at line 19 of file

string unity.emulators.UnityIntrospectionObject.DBUS_SERVICE = "com.canonical.Unity" [static, inherited]

Definition at line 18 of file

The documentation for this class was generated from the following file: