Package elisa :: Package plugins :: Package bad :: Package weather :: Module weather_gtk_view :: Class WeatherGtkView
[hide private]
[frames] | no frames]

Class WeatherGtkView

source code


This class implements gtk weather view

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
 
controller_changed(self, old_controller, new_controller)
Called when controller is set to a new value.
source code

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

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 = ('weather:weather_controller')
list of controllers that are compatible with the view identified by their path: 'plugin:controller'
string name = 'weather_gtk_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__

controller_changed(self, old_controller, new_controller)

source code 

Called when controller is set to a new value.

Override if you wish to react to that change. Do not forget to call the parent class method.
Overrides: base_components.view.View.controller_changed
(inherited documentation)