Home | Trees | Index | Help |
|
---|
Package kiwi :: Package ui :: Module views :: Class BaseView |
|
object
--+ |SlaveView
--+ | BaseView
Delegate
Method Summary | |
---|---|
Tests the focus in the window and prints a warning if no widget is focused. | |
Returns the currently focused widget in the window | |
Special init code that subclasses may want to override. | |
Hide the view's window | |
Hides the current window and breaks the GTK+ event loop if this is the last window. | |
quit_if_last(self,
*args)
| |
Sets the view's window title | |
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 the view's window. | |
Shows all widgets attached to the toplevel widget | |
Inherited from SlaveView | |
Add a proxy to this view that automatically update a model when the view changes. | |
Attaches a slaveview to the current view, substituting the widget specified by name. | |
| |
Connect the same handler to the specified signal for a number of widgets. | |
Detatch a slave called name from view | |
Disconnect handlers previously connected with autoconnect_signals() | |
Focuses the toplevel widget in the view | |
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 | |
| |
| |
Returns the toplevel widget in the view | |
A real hack; returns the widget that is most to the left and top of the window. | |
Retrieves the named widget from the View | |
| |
| |
Hook function called when attach_slave is performed on slave views. | |
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. | |
The signature of the validate function is: | |
Sets the view's controller, checking to see if one has already been set before. | |
Runs show() and runs the GTK+ event loop. |
Class Variable Summary | |
---|---|
Inherited from SlaveView | |
NoneType |
controller = None |
NoneType |
domain = None |
NoneType |
gladefile = None |
NoneType |
gladename = None |
NoneType |
toplevel = None |
NoneType |
toplevel_name = None |
list |
widgets = []
|
Method Details |
---|
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. Its method signature allows it to be used as a signal handler. |
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=None, *args)Show the view's window. If the parent argument is supplied and is a valid view, this view is set as a transient for the parent view.
|
show_all(self, parent=None, *args)Shows all widgets attached to the toplevel widget
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Oct 19 03:18:14 2006 | http://epydoc.sf.net |