Package flumotion :: Package admin :: Package gtk :: Module parts :: Class ComponentsView
[hide private]

Class ComponentsView

source code

extern.log.log.Loggable --+
                          |
             object --+   |
                      |   |
             ??.GObject --+
                          |
                         ComponentsView

I present a view on the list of components logged in to the manager.

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_add_columns(self) source code
 
_getMoodPixbufs(self) source code
 
_view_cursor_changed_cb(self, *args) source code
 
_view_button_press_event_cb(self, treeview, event) source code
 
_activated_cb(self, menu, action, state) source code
string
get_selected_name(self)
Get the name of the currently selected component, or None.
source code
flumotion.common.component.AdminComponentState
get_selected_state(self)
Get the state of the currently selected component, or None.
source code
 
update_start_stop_props(self) source code
 
_removeListenerForeach(self, model, path, iter) source code
 
update(self, components)
Update the components view by removing all old components and showing the new ones.
source code
 
_updateWorker(self, iter, componentState) source code
 
stateSet(self, state, key, value) source code
 
_set_mood_value(self, iter, value)
Set the mood value on the given component name.
source code
 
do_get_property(self, prop) source code
 
do_set_property(self, prop, value) source code

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

Inherited from unreachable.GObject: __cmp__, __copy__, __deepcopy__, __delattr__, __gdoc__, __gobject_init__, __hash__, __new__, __repr__, __setattr__, chain, connect, connect_after, connect_object, connect_object_after, disconnect, disconnect_by_func, emit, emit_stop_by_name, freeze_notify, get_data, get_properties, get_property, handler_block, handler_block_by_func, handler_disconnect, handler_is_connected, handler_unblock, handler_unblock_by_func, notify, props, set_data, set_properties, set_property, stop_emission, thaw_notify, weak_ref

Inherited from object: __getattribute__, __reduce__, __reduce_ex__, __str__

Class Variables [hide private]
  logCategory = 'components'
Implementors can provide a category to log their messages under.
  _moodPixbufs = None
  _view = None
  _model = None
  __gtype__ = <GType flumotion+admin+gtk+parts+ComponentsView (1...
  __implemented__ = <implementedBy flumotion.admin.gtk.parts.Com...
  __provides__ = <zope.interface.declarations.ClassProvides obje...
Properties [hide private]

Inherited from unreachable.GObject: __grefcount__

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • tree_widget - the gtk.TreeWidget to put the view in.
Overrides: object.__init__

update(self, components)

source code 

Update the components view by removing all old components and showing the new ones.

Parameters:

_set_mood_value(self, iter, value)

source code 

Set the mood value on the given component name.

Parameters:
  • value (int)

Class Variable Details [hide private]

__gtype__

Value:
<GType flumotion+admin+gtk+parts+ComponentsView (147771920)>

__implemented__

Value:
<implementedBy flumotion.admin.gtk.parts.ComponentsView>

__provides__

Value:
<zope.interface.declarations.ClassProvides object at 0x8ca28ac>