Inherits UbuntuUIToolkitCustomProxyObjectBase.
|
def | __init__ (self, args) |
|
def | get_applications_grid (self) |
|
def | get_application_icon (self, text) |
|
def | get_scope (self, scope_name='clickscope') |
|
def | get_scope_by_index (self, scope_index=0) |
|
def | open_scope (self, scope_id) |
|
def | enter_search_query (self, query, keyboard) |
|
def | get_search_text_field (self) |
|
A helper that understands the Dash.
Definition at line 43 of file dash.py.
§ get_application_icon()
def unity8.dash.Dash.get_application_icon |
( |
|
self, |
|
|
|
text |
|
) |
| |
Returns a 'Tile' icon that has the text 'text' from the application
grid.
:param text: String containing the text of the icon to search for.
Definition at line 56 of file dash.py.
56 def get_application_icon(self, text):
57 """Returns a 'Tile' icon that has the text 'text' from the application 60 :param text: String containing the text of the icon to search for. 63 app_grid = self.get_applications_grid()
64 resp_grid = app_grid.wait_select_single(
'ResponsiveGridView')
65 return resp_grid.select_single(
'Tile', text=text)
§ open_scope()
def unity8.dash.Dash.open_scope |
( |
|
self, |
|
|
|
scope_id |
|
) |
| |
Open a dash scope.
:parameter scope_id: The id of the scope.
:return: The scope.
Definition at line 76 of file dash.py.
76 def open_scope(self, scope_id):
79 :parameter scope_id: The id of the scope. 83 scope_loader = self._get_scope_loader(scope_id)
84 if scope_loader.isCurrent:
85 logger.info(
'The scope is already open.')
86 return self._get_scope_from_loader(scope_loader)
88 return self._open_scope_scrolling(scope_loader)
The documentation for this class was generated from the following file: