Part of kiwi.ui.views View In Hierarchy
Known subclasses: kiwi.ui.delegates.Delegate, kiwi.ui.delegates.GladeDelegate
A view with a toplevel window.
Method | __init__ | Creates a new SlaveView. Sets up self.toplevel and self.widgets and checks for reserved names. |
Method | get_glade_adaptor | Special init code that subclasses may want to override. |
Method | set_transient_for | 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. |
Method | set_title | Sets the view's window title |
Method | get_focus_widget | Returns the currently focused widget in the window |
Method | check_focus | Tests the focus in the window and prints a warning if no widget is focused. |
Method | hide | Hide the view's window |
Method | show_all | Shows all widgets attached to the toplevel widget |
Method | show | 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. |
Method | quit_if_last | Undocumented |
Method | hide_and_quit | 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. |
Method | _attach_callbacks | Undocumented |
Method | _setup_keypress_handler | Undocumented |
Inherited from SlaveView:
Method | on_attach | Hook function called when attach_slave is performed on slave views. |
Method | on_startup | No summary |
Method | get_toplevel | Returns the toplevel widget in the view |
Method | get_widget | Retrieves the named widget from the View |
Method | set_controller | Sets the view's controller, checking to see if one has already been set before. |
Method | show_and_loop | Runs show() and runs the GTK+ event loop. If the parent argument is supplied and is a valid view, this view is set as a transient for the parent view |
Method | focus_toplevel | Focuses the toplevel widget in the view |
Method | focus_topmost | No summary |
Method | get_topmost_widget | A real hack; returns the widget that is most to the left and top of the window. |
Method | attach_slave | No summary |
Method | get_sizegroups | Get a list of sizegroups for the current view. |
Method | detach_slave | Detatch a slave called name from view |
Method | get_slave | Undocumented |
Method | connect_multiple | No summary |
Method | disconnect_autoconnected | Disconnect handlers previously connected with autoconnect_signals() |
Method | handler_block | Undocumented |
Method | handler_unblock | Undocumented |
Method | add_proxy | Add a proxy to this view that automatically update a model when the view changes. Arguments: |
Method | check_and_notify_validity | Undocumented |
Method | force_validation | Undocumented |
Method | register_validate_function | The signature of the validate function is: |
Method | _get_notebooks | Undocumented |
Method | _check_reserved | Undocumented |
Method | _get_toplevel | Undocumented |
Method | _merge_sizegroup | Undocumented |
Method | _attach_groups | Undocumented |
Method | _on_child__validation_changed | Undocumented |
Method | _on_notebook_slave__validation_changed | Undocumented |
Creates a new SlaveView. Sets up self.toplevel and self.widgets and checks for reserved names.
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.
Shows all widgets attached to the toplevel widget
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.