Package flumotion :: Package component :: Package effects :: Package volume :: Module admin_gtk :: Class VolumeAdminGtkNode
[hide private]

Class VolumeAdminGtkNode

source code

        extern.log.log.Loggable --+        
                                  |        
base.baseadminnode.BaseAdminGtkNode --+    
                                      |    
    base.effectsnode.EffectAdminGtkNode --+
                                          |
                                         VolumeAdminGtkNode

Instance Methods [hide private]
 
haveWidgetTree(self)
I am called when the widget tree has been gotten from the glade file.
source code
 
setUIState(self, state)
Called by the BaseAdminGtk when it gets the UI state and the GUI is ready.
source code
 
_createEnoughLevelWidgets(self, numchannels)
This method dynamically creates labels and level meters for channels that currently do not have level meters.
source code
 
peakSet(self, peak) source code
 
decaySet(self, decay) source code
 
volumeSet(self, volume) source code
 
stateSet(self, state, key, value)
Override me
source code
 
cb_volume_set(self, widget) source code
 
setVolumeErrback(self, failure) source code
 
_update_volume_label(self) source code
 
_check_toggled_cb(self, widget) source code

Inherited from base.effectsnode.EffectAdminGtkNode: __init__, effectCallRemote

Inherited from base.baseadminnode.BaseAdminGtkNode: addMessage, callRemote, cleanup, createWidget, getWidget, gotUIState, loadGladeFile, render, setDebugEnabled, stateAppend, stateDelitem, stateRemove, stateSetitem, status_pop, status_push

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

Class Variables [hide private]
  logCategory = 'volume'
Implementors can provide a category to log their messages under.
  gladeFile = 'flumotion/component/effects/volume/volume.glade'
  uiStateHandlers = None

Inherited from base.baseadminnode.BaseAdminGtkNode: __implemented__, __provides__, gettextDomain

Instance Variables [hide private]

Inherited from base.baseadminnode.BaseAdminGtkNode: widget, wtree

Method Details [hide private]

haveWidgetTree(self)

source code 

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.

Overrides: base.baseadminnode.BaseAdminGtkNode.haveWidgetTree
(inherited documentation)

setUIState(self, state)

source code 

Called by the BaseAdminGtk when it gets the UI state and the GUI is ready. Chain up if you provide your own implementation.

Overrides: base.baseadminnode.BaseAdminGtkNode.setUIState
(inherited documentation)

_createEnoughLevelWidgets(self, numchannels)

source code 

This method dynamically creates labels and level meters for channels that currently do not have level meters. The glade file no longer contains the labels or the level meters. Also the table size in the glade file is set to 50 and the widgets inside the table that are statically configured have a bottom y of 50 allowing about 23 channels in the audio.

Parameters:
  • numchannels - total number of channels there is volume data for

stateSet(self, state, key, value)

source code 

Override me

Overrides: base.baseadminnode.BaseAdminGtkNode.stateSet
(inherited documentation)