Package kiwi :: Package ui :: Module delegates :: Class GladeDelegate
[frames | no frames]

Type GladeDelegate

BaseController --+
                 |
object --+       |
         |       |
 SlaveView --+   |
             |   |
      BaseView --+
                 |
                GladeDelegate

Known Subclasses:
PluggableWizard

A class that combines view and controller functionality into a single package. The Delegate class possesses a top-level window.
Method Summary
    Inherited from BaseView
  check_focus(self)
Tests the focus in the window and prints a warning if no widget is focused.
  get_focus_widget(self)
Returns the currently focused widget in the window
  get_glade_adaptor(self)
Special init code that subclasses may want to override.
  hide(self, *args)
Hide the view's window
  hide_and_quit(self, *args)
Hides the current window and breaks the GTK+ event loop if this is the last window.
  quit_if_last(self, *args)
  set_title(self, title)
Sets the view's window title
  set_transient_for(self, view)
Makes the view a transient for another view; this is commonly done for dialogs, so the dialog window is managed differently than a top-level one.
  show(self, parent, *args)
Show the view's window.
  show_all(self, *args)
Shows all widgets attached to the toplevel widget
    Inherited from SlaveView
  add_proxy(self, model, widgets)
Add a proxy to this view that automatically update a model when the view changes.
  attach_slave(self, name, slave)
Attaches a slaveview to the current view, substituting the widget specified by name.
  check_and_notify_validity(self, force)
  connect_multiple(self, widgets, signal, handler, after)
Connect the same handler to the specified signal for a number of widgets.
  detach_slave(self, name)
Detatch a slave called name from view
  disconnect_autoconnected(self)
Disconnect handlers previously connected with autoconnect_signals()
  focus_toplevel(self)
Focuses the toplevel widget in the view
  focus_topmost(self, widgets)
Looks through widgets specified (if no widgets are specified, look through all widgets attached to the view and sets focus to the widget that is rendered in the position closest to the view window's top and left
  force_validation(self)
  get_sizegroups(self)
Return a list of sizegroups for the current view.
  get_slave(self, holder)
  get_toplevel(self)
Returns the toplevel widget in the view
  get_topmost_widget(self, widgets, can_focus)
A real hack; returns the widget that is most to the left and top of the window.
  get_widget(self, name)
Retrieves the named widget from the View
  handler_block(self, widget, signal_name)
  handler_unblock(self, widget, signal_name)
  on_attach(self, parent)
Hook function called when attach_slave is performed on slave views.
  on_startup(self)
This is a virtual method that can be customized by classes that want to perform additional initalization after a controller has been set for it.
  register_validate_function(self, function)
The signature of the validate function is:
  set_controller(self, controller)
Sets the view's controller, checking to see if one has already been set before.
  show_and_loop(self, parent)
Runs show() and runs the GTK+ event loop.
    Inherited from BaseController
  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
    Inherited from SlaveView
NoneType controller = None                                                                  
NoneType domain = None                                                                  
NoneType gladefile = None                                                                  
NoneType toplevel = None                                                                  
NoneType toplevel_name = None                                                                  
list widgets = []
    Inherited from BaseController
NoneType view = None                                                                  

Generated by Epydoc 2.1 on Mon Jan 29 16:46:04 2007 http://epydoc.sf.net