|
__init__(self,
screenlet_classobj,
backend_type=' caching ' ,
name=' default ' )
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature |
source code
|
|
|
connect_daemon(self)
Connect to org.screenlets.ScreenletsDaemon. |
source code
|
|
|
|
|
|
|
get_instance_by_id(self,
id)
Return the instance with the given id from within this
session. |
source code
|
|
|
quit_instance(self,
id)
quit the given instance with ID 'id' |
source code
|
|
|
start(self)
Start a new session (or restore an existing session) for the
current Screenlet-class. |
source code
|
|
|
__register_screenlet(self)
Create new entry for this session in the global TMP_FILE. |
source code
|
|
|
|
|
__unregister_screenlet(self,
name=None)
Delete this session's entry from the gloabl tempfile (and delete
the entire file if no more running screenlets are set. |
source code
|
|
|
__delete_tempfile(self,
name=None)
Delete the tempfile for this session. |
source code
|
|
|
__get_next_id(self)
Get the next ID for an instance of the assigned Screenlet. |
source code
|
|
|
__load_instances(self)
Check for existing instances in the current session, create them
and store them into self.instances if any are found. |
source code
|
|
|
__restore_options_from_backend(self,
screenlet,
filename)
Restore and apply a screenlet's options from the backend. |
source code
|
|
|
__run_session(self,
main_instance)
Run the session by calling the main handler of the given
Screenlet- instance. |
source code
|
|
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|