Lomiri
lomiri.launcher.Launcher Class Reference

Inherits lomiriuitoolkit.LomiriUIToolkitCustomProxyObjectBase.

Public Member Functions

def show (self)
 
def click_dash_icon (self)
 
def click_application_launcher_icon (self, application_name)
 

Detailed Description

A helper that understands the Launcher.

Definition at line 31 of file launcher.py.

Member Function Documentation

◆ click_application_launcher_icon()

def lomiri.launcher.Launcher.click_application_launcher_icon (   self,
  application_name 
)

Definition at line 63 of file launcher.py.

63 def click_application_launcher_icon(self, application_name):
64 launcher_delegate = self.select_single(
65 'LauncherDelegate', appId=application_name)
66 self.pointing_device.click_object(launcher_delegate)

◆ click_dash_icon()

def lomiri.launcher.Launcher.click_dash_icon (   self)

Definition at line 54 of file launcher.py.

54 def click_dash_icon(self):
55 if self.shown:
56 dash_icon = self.select_single(
57 'QQuickImage', objectName='dashItem')
58 self.pointing_device.click_object(dash_icon)
59 else:
60 raise lomiri.LomiriException('The launcher is closed.')
61

◆ show()

def lomiri.launcher.Launcher.show (   self)
Show the launcher swiping it to the right.

Definition at line 36 of file launcher.py.

36 def show(self):
37 """Show the launcher swiping it to the right."""
38 if not self.shown:
39 self._swipe_to_show_launcher()
40 self.shown.wait_for(True)
41 else:
42 logger.debug('The launcher is already opened.')
43

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