Back to index

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

List of all members.

Public Member Functions

def label_no_formatting

Static Public Attributes

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

Detailed Description

Proxy object for the hud buttons.

Definition at line 158 of file hud.py.


Member Function Documentation

Returns the label text with the formatting removed.

Definition at line 162 of file hud.py.

00162 
00163     def label_no_formatting(self):
00164         """Returns the label text with the formatting removed."""
00165         htmlparser = HTMLParser()
00166         return htmlparser.unescape(re.sub("<[^>]*>", "", self.label))

Here is the call graph for this function:


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: