Unity 8
 All Classes Functions Properties
unity8.shell.emulators.launcher.Launcher Class Reference
Inheritance diagram for unity8.shell.emulators.launcher.Launcher:
Collaboration diagram for unity8.shell.emulators.launcher.Launcher:

Public Member Functions

def show
 

Detailed Description

An emulator that understands the Launcher.

Definition at line 24 of file launcher.py.

Member Function Documentation

def unity8.shell.emulators.launcher.Launcher.show (   self)
Swipes open the launcher.

Definition at line 28 of file launcher.py.

28 
29  def show(self):
30  """Swipes open the launcher."""
31  touch = Touch.create()
32 
33  view = self.get_root_instance().select_single('QQuickView')
34  start_x = view.x + 1
35  start_y = view.y + view.height / 2
36  stop_x = start_x + self.panelWidth + 1
37  stop_y = start_y
38  touch.drag(start_x, start_y, stop_x, stop_y)
39  self.shown.wait_for(True)

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