Back to index

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

List of all members.

Public Member Functions

def geometry
def mouse_move_to
def mouse_click

Static Public Attributes

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

Detailed Description

Represents a separator in a quicklist.

Definition at line 103 of file

Member Function Documentation

Returns a tuple of (x,y,w,h) for the quicklist item.

Definition at line 82 of file

00083     def geometry(self):
00084         """Returns a tuple of (x,y,w,h) for the quicklist item."""
00085         return (self.x, self.y, self.width, self.height)

Here is the call graph for this function:

def unity.emulators.quicklist.QuicklistMenuItem.mouse_click (   self,
  button = 1 
) [inherited]

Definition at line 93 of file

00094     def mouse_click(self, button=1):
00095         logger.debug("Clicking on quicklist item %r", self)
00096         self.mouse_move_to()

Here is the call graph for this function:

Definition at line 86 of file

00087     def mouse_move_to(self):
00088         assert(self.visible)
00089         logger.debug("Moving mouse over quicklist item %r", self)
00090         target_x = self.x + self.width / 2
00091         target_y = self.y + self.height / 2
00092         self._mouse.move(target_x, target_y, rate=20, time_between_events=0.005)

Here is the call graph for this function:

Here is the caller 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: