Trees | Index | Help |
---|
Package flumotion :: Package component :: Package base :: Module admin_gtk :: Class BaseAdminGtkNode |
|
Loggable
--+
|
BaseAdminGtkNode
EatersAdminGtkNode
,
EffectAdminGtkNode
,
FeedersAdminGtkNode
Method Summary | |
---|---|
| |
callRemote(self,
methodName,
*args,
**kwargs)
| |
Create a new widget instance from the glade file. | |
Get the value of the given property of the element with the given name. | |
getWidget(self,
name)
| |
gotUIState(self,
state)
| |
I am called when the widget tree has been gotten from the glade file. | |
Returns: a deferred returning the widget tree from the glade file. | |
I am meant to be overridden. | |
propertyErrback(self,
failure,
window)
| |
render(self,
*args,
**kwargs)
| |
Set the given property on the element with the given name. | |
Called by the BaseAdminGtk when it gets the UI state and the GUI is ready. | |
Override me | |
Override me | |
Override me | |
Override me | |
Override me | |
status_pop(self,
mid)
| |
status_push(self,
str)
| |
Inherited from Loggable | |
Log a debug message. | |
dict |
Log a message at the given level, with the possibility of going higher up in the stack. |
Log an error. | |
Log an informational message. | |
Log a log message. | |
Overridable log function. | |
Overridable object name function. | |
Log a warning. | |
Log a warning about a Failure. |
Instance Variable Summary | |
---|---|
gtk.Widget |
widget : the main widget representing this node |
wtree : the widget tree representation for this node |
Class Variable Summary | |
---|---|
Implements |
__implemented__ = <implementedBy flumotion.component.bas...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
str |
gettext_domain = 'flumotion'
|
NoneType |
glade_file = None |
str |
logCategory : Implementors can provide a category to log their messages under. |
Inherited from Loggable | |
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
Method Details |
---|
__init__(self,
state,
admin,
title=None)
|
createWidget(self, name)Create a new widget instance from the glade file. Can be used to make multiple instances of the same widget. |
getElementProperty(self, elementName, propertyName)Get the value of the given property of the element with the given name. Returns:twisted.internet.defer.Deferred returning the
value.
|
haveWidgetTree(self)I am called when the widget tree has been gotten from the glade file. Responsible for setting self.widget. Override me to act on it. |
loadGladeFile(self, gladeFile, domain='flumotion')Returns: a deferred returning the widget tree from the glade file. |
propertyChanged(self, name, value)I am meant to be overridden. |
setElementProperty(self, elementName, propertyName, value)Set the given property on the element with the given name. |
setUIState(self, state)Called by the BaseAdminGtk when it gets the UI state and the GUI is ready. Chain up if you provide your own implementation. |
stateAppend(self, state, key, value)Override me |
stateDelitem(self, state, key, subkey, value)Override me |
stateRemove(self, state, key, value)Override me |
stateSet(self, state, key, value)Override me |
stateSetitem(self, state, key, subkey, value)Override me |
Instance Variable Details |
---|
widgetthe main widget representing this node
|
wtreethe widget tree representation for this node |
Class Variable Details |
---|
__implemented__
|
__provides__
|
gettext_domain
|
glade_file
|
logCategoryImplementors can provide a category to log their messages under.
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Fri Apr 6 10:13:42 2007 | http://epydoc.sf.net |