Back to index

unity  6.0.0
Public Member Functions | Static Public Attributes
unity.emulators.dash.DashView Class Reference
Inheritance diagram for unity.emulators.dash.DashView:
Inheritance graph
[legend]
Collaboration diagram for unity.emulators.dash.DashView:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def get_searchbar
def get_lensbar
def get_lensview_by_name

Static Public Attributes

string DBUS_SERVICE = "com.canonical.Unity"
string DBUS_OBJECT = "/com/canonical/Unity/Debug"

Detailed Description

The dash view.

Definition at line 149 of file dash.py.


Member Function Documentation

Get the lensbar attached to this dash view.

Definition at line 156 of file dash.py.

00156 
00157     def get_lensbar(self):
00158         """Get the lensbar attached to this dash view."""
00159         return self.get_children_by_type(LensBar)[0]

def unity.emulators.dash.DashView.get_lensview_by_name (   self,
  lens_name 
)
Get a LensView child object by it's name. For example, "home.lens".

Definition at line 160 of file dash.py.

00160 
00161     def get_lensview_by_name(self, lens_name):
00162         """Get a LensView child object by it's name. For example, "home.lens"."""
00163         lenses = self.get_children_by_type(LensView)
00164         for lens in lenses:
00165             if lens.name == lens_name:
00166                 return lens
00167 

Get the search bar attached to this dash view.

Definition at line 152 of file dash.py.

00152 
00153     def get_searchbar(self):
00154         """Get the search bar attached to this dash view."""
00155         return self.get_children_by_type(SearchBar)[0]


Member Data Documentation

string unity.emulators.UnityIntrospectionObject.DBUS_OBJECT = "/com/canonical/Unity/Debug" [static, inherited]

Definition at line 19 of file __init__.py.

string unity.emulators.UnityIntrospectionObject.DBUS_SERVICE = "com.canonical.Unity" [static, inherited]

Definition at line 18 of file __init__.py.


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