Back to index

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

List of all members.

Public Member Functions

def get_icon_by_name

Static Public Attributes

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

Detailed Description

The bar of lens icons at the bottom of the dash.

Definition at line 172 of file dash.py.


Member Function Documentation

Get a LensBarIcon child object by it's name. For example, 'home.lens'.

Definition at line 174 of file dash.py.

00174 
00175     def get_icon_by_name(self, name):
00176         """Get a LensBarIcon child object by it's name. For example, 'home.lens'."""
00177         icons = self.get_children_by_type(LensBarIcon)
00178         for icon in icons:
00179             if icon.name == name:
00180                 return icon


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: