Python: module rox.session

rox.session | index

`Contact ROX-Session via the DBus or XMLRPC interface. Using get_session()
will return a proxy object on which you can make remote calls to control
the session. Similarly get_settings() will return an object to control
session settings, e.g.
try:
settings = session.get_settings()
type, value = settings.GetSetting('Gtk/KeyThemeName')
except:
# No ROX-Session available, do something else
In addition the Setting class is provided which derives from rox.options.Option
but has two important differences: it is not saved to the options file and
it is synchronized with a value of the same name in the ROX-Session settings.`

Functions
`` |  | get_proxy(service_name, object_name, interface_name) `Get a proxy object for the required service, object path and interface. This selects an appropriate transport for you, either DBus or XMLRPC.` get_session() `Return a proxy object for the ROX-Session settings interface` get_settings() `Return a proxy object for the ROX-Session control interface` running() `Return True if ROX-Session is detected as running`