Package kiwi :: Module controllers :: Class BaseController
[frames | no frames]

Class BaseController

Known Subclasses:
Delegate, GladeDelegate, GladeSlaveDelegate, SlaveDelegate

A generic controller that can be attached to any View

BaseController defines one public variable:
Method Summary
  get_parent(self)
parent: the correspondent parent for the controller
  get_view(self)
view: the correspondent view for the controller
  on_key_press(self, widget, event)
The keypress handler, which dispatches keypresses to the functions mapped to in self.keyactions
  set_keyactions(self, keyactions)
Sets the keyactions mapping.
  set_parent(self, parent)
parent: the correspondent parent for the controller
  set_view(self, view)
view: the correspondent view for the controller
  update_keyactions(self, new_actions)
XXX

Class Variable Summary
NoneType view = None                                                                  

Method Details

get_parent(self)

parent: the correspondent parent for the controller

get_view(self)

view: the correspondent view for the controller

on_key_press(self, widget, event)

The keypress handler, which dispatches keypresses to the functions mapped to in self.keyactions

set_keyactions(self, keyactions)

Sets the keyactions mapping. See the constructor documentation for a description of it.

set_parent(self, parent)

parent: the correspondent parent for the controller

set_view(self, view)

view: the correspondent view for the controller

update_keyactions(self, new_actions)

XXX

Class Variable Details

view

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.1 on Tue Feb 6 10:53:33 2007 http://epydoc.sf.net