Home | Trees | Indices | Help |
|
---|
|
object --+ | dbus.service.Interface --+ | dbus.service.Object --+ | ScreenletService
The ScreenletService contains the boilerplate code for creating new dbus-objects for Screenlets. Subclasses can easily implement new functions to allow controlling and managing Screenlets through DBus in any way imaginable. This class should implement the default actions available for all screenlets - add, delete, get, set, (move?)
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from Inherited from |
|
|
|
Dump a string to the console.
|
Ask the assigned Screenlet to add a new instance of itself to its session. The new Screenlet will have the ID defined by 'id'. The ID of the new instance is returned, so you can auto-generate an ID by passing an empty string. The function returns None if adding a new instance failed for some reason.
|
Ask the assigned Screenlet to return the given attribute's value. If 'id' is defined, the instance with the given id will be accessed, else the main instance is used. Protected attributes are not returned by this function. TODO: Throw exception on error? ... could be abused to crash the app
|
Get the ID of the first existing instance of the assigned Screenlet (within the screenlet's active session).
|
Return a list with IDs of all existing instances of the assigned Screenlet (within the screenlet's active session).
|
Quit all instances of the screenlet. Similar to selecting Quit from the menu.
|
Ask the assigned Screenlet to set the given attribute to 'value'. The instance with the given id will be accessed.
|
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jan 4 16:58:24 2012 | http://epydoc.sourceforge.net |