Package elisa :: Package base_components :: Module context :: Class Context
[hide private]
[frames] | no frames]

Class Context

source code


DOCME

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
 
aspect_ratio__get(self) source code
 
aspect_ratio__set(self, aspect_ratio) source code
 
aspect_ratio_changed(self, old_aspect_ratio, new_aspect_ratio)
DOCME
source code
 
theme_changed(self, old_theme, new_theme)
DOCME
source code

Inherited from core.component.Component: clean, initialize, 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]
string name = 'context'
Component's name

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

Inherited from extern.log.log.Loggable: logCategory

Instance Variables [hide private]
any viewport_handle = 'frontend'
main window instance (eg.
any context_handle = 'frontend'
first object to add to the viewport (eg.
string aspect_ratio
can be '16:9', 'auto', 'mm' DOCME: what is 'mm'?

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: core.component.Component.__init__
(inherited documentation)

Instance Variable Details [hide private]

viewport_handle

main window instance (eg. Pigment viewport, GTK window, etc.)
Type:
any
Value:
'frontend'

context_handle

first object to add to the viewport (eg. Pigment group, GTK Box, etc.)
Type:
any
Value:
'frontend'

aspect_ratio

can be '16:9', 'auto', 'mm' DOCME: what is 'mm'?
Get Method:
elisa.base_components.context.Context.aspect_ratio__get(self)
Set Method:
elisa.base_components.context.Context.aspect_ratio__set(self, aspect_ratio)
Delete Method:
'frontend'