Unity 8
|
Public Member Functions | |
def | get_greeter (self) |
def | get_login_loader (self) |
def | get_login_list (self) |
def | get_bottombar (self) |
def | get_pinPadLoader (self) |
def | get_lockscreen (self) |
def | get_pinentryField (self) |
def | open_indicator_page (self, indicator_name) |
def | close_indicator_page (self) |
def | show_dash_swiping (self) |
def | get_current_focused_app_id (self) |
def | show_dash_from_launcher (self) |
def | open_launcher (self) |
def | is_launcher_open (self) |
def | launch_application (self, application_name) |
def | enter_pin_code (self, code) |
def | wait_for_notification (self) |
An emulator class that makes it easy to interact with the shell
Definition at line 32 of file main_window.py.
def unity8.shell.emulators.main_window.QQuickView.close_indicator_page | ( | self | ) |
Swipe to close the opened indicator, wait until it's closed.
Definition at line 86 of file main_window.py.
def unity8.shell.emulators.main_window.QQuickView.enter_pin_code | ( | self, | |
code | |||
) |
Enter code 'code' into the single-pin lightdm pincode entry screen. :param code: must be a string of numeric characters. :raises: TypeError if code is not a string. :raises: ValueError if code contains non-numeric characters.
Definition at line 145 of file main_window.py.
def unity8.shell.emulators.main_window.QQuickView.get_current_focused_app_id | ( | self | ) |
Return the id of the focused application.
Definition at line 109 of file main_window.py.
def unity8.shell.emulators.main_window.QQuickView.launch_application | ( | self, | |
application_name | |||
) |
Launch an application. :parameter application_name: The name of the application to launch.
Definition at line 134 of file main_window.py.
def unity8.shell.emulators.main_window.QQuickView.open_indicator_page | ( | self, | |
indicator_name | |||
) |
Swipe to open the indicator, wait until it's open. :returns: The indicator page.
Definition at line 72 of file main_window.py.
def unity8.shell.emulators.main_window.QQuickView.show_dash_from_launcher | ( | self | ) |
Open the dash clicking the dash icon on the launcher.
Definition at line 114 of file main_window.py.
def unity8.shell.emulators.main_window.QQuickView.show_dash_swiping | ( | self | ) |
Show the dash swiping from the left.
Definition at line 96 of file main_window.py.
def unity8.shell.emulators.main_window.QQuickView.wait_for_notification | ( | self | ) |
Wait for a notification dialog to appear. :return: An object for the notification dialog data. :raise StateNotFoundError: if the timeout expires when the notification has not appeared.
Definition at line 173 of file main_window.py.