Package flumotion :: Package component :: Package base :: Module admin_gtk :: Class BaseAdminGtk
[hide private]

Class BaseAdminGtk

source code

extern.log.log.Loggable --+
Known Subclasses:

I am a base class for all GTK+-based Admin views. I am a view on one component's properties.

Instance Methods [hide private]
__init__(self, state, admin) source code
setDebugEnabled(self, enabled)
Set if debug should be enabled.
source code
cleanup(self) source code
setUIState(self, state) source code
callRemote(self, methodName, *args, **kwargs) source code
Set up the admin view so it can display nodes.
source code
dict of str -> BaseAdminGtkNode
Return a dict of admin UI nodes.
source code
Render the GTK+ admin view for this component and return the main widget for embedding.
source code
uiStateChanged(self, stateObject) source code
stateSet(self, object, key, value) source code
stateAppend(self, object, key, value) source code
stateRemove(self, object, key, value) source code

Inherited from extern.log.log.Loggable: __providedBy__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]
  logCategory = 'admingtk'
Implementors can provide a category to log their messages under.
  gettextDomain = None

Inherited from extern.log.log.Loggable: __implemented__, __provides__

Instance Variables [hide private]
twisted.python.util.OrderedDict nodes
an ordered dict of name -> BaseAdminGtkNode
Method Details [hide private]

__init__(self, state, admin)

source code 

setDebugEnabled(self, enabled)

source code 

Set if debug should be enabled. Not all pages are visible unless debugging is set to true

  • enabled (bool) - whether debug should be enabled


source code 

Return a dict of admin UI nodes.

Returns: dict of str -> BaseAdminGtkNode
dict of name (untranslated) -> admin node