Package elisa :: Package plugins :: Package bad :: Package gtk_frontend :: Module gtk_list_view :: Class GtkListView
[hide private]
[frames] | no frames]

Class GtkListView

source code


This class implements gtk list view support

Nested Classes [hide private]

Inherited from core.component.Component: __metaclass__

Instance Methods [hide private]
 
__init__(self)
Lazily set name from class name styled with underscores (class ComponentBar -> name component_bar.
source code
 
initialize(self)
Initialize various variables internal to the Component.
source code
 
_gtk_selection_changed(self, selection) source code
 
update(self)
Refresh completely the rendering of the associated Controller.
source code
 
inserted(self, elements, position) source code
 
removed(self, elements, position) source code
 
modified(self, key, value) source code
 
dirtied(self) source code
 
selection_changed(self, old_index, new_index) source code

Inherited from base_components.view.View: attribute_set, clean, controller__get, controller__set, controller_changed, frontend__get, frontend__set, frontend_changed, parent__get, parent__set

Inherited from core.component.Component: load_config, save_config

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

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Static Methods [hide private]

Inherited from core.component.Component: __classinit__

Class Variables [hide private]
tuple of strings supported_controllers = ('base:list_controller')
list of controllers that are compatible with the view identified by their path: 'plugin:controller'
string name = 'gtk_list_view'
Component's name

Inherited from base_components.view.View: bindings, context_path

Inherited from core.component.Component: checked, config_doc, default_config, id, plugin

Inherited from extern.log.log.Loggable: logCategory

Instance Variables [hide private]

Inherited from base_components.view.View: context_handle, controller, frontend, parent

Inherited from core.component.Component: config, path

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Lazily set name from class name styled with underscores (class ComponentBar -> name component_bar. Also set log category based on component name, with a 'comp_' prefix.
Overrides: base_components.view.View.__init__

initialize(self)

source code 

Initialize various variables internal to the Component.

This method is called by the plugin_registry after the component's config has been loaded.

Override this method if you need to perform some initializations that would normally go in Component's constructor but can't be done there because they require access to the component's config.
Overrides: base_components.view.View.initialize

update(self)

source code 
Refresh completely the rendering of the associated Controller. This should be called when the Controller has changed.
Overrides: base_components.view.View.update
(inherited documentation)