Unity 8
unity8.dash.Dash Class Reference

Inherits UbuntuUIToolkitCustomProxyObjectBase.

Public Member Functions

def __init__ (self, args)
 
def get_scope (self, scope_name)
 
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)
 

Public Attributes

 dash_content_list
 

Detailed Description

A helper that understands the Dash.

Definition at line 43 of file dash.py.

Member Function Documentation

◆ 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 60 of file dash.py.

60  def open_scope(self, scope_id):
61  """Open a dash scope.
62 
63  :parameter scope_id: The id of the scope.
64  :return: The scope.
65 
66  """
67  scope_loader = self._get_scope_loader(scope_id)
68  if scope_loader.isCurrent:
69  logger.info('The scope is already open.')
70  return self._get_scope_from_loader(scope_loader)
71  else:
72  return self._open_scope_scrolling(scope_loader)
73 

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