# Class k.u.v.SignalBroker(object):

Part of kiwi.ui.views View In Hierarchy

Known subclasses: kiwi.ui.views.GladeSignalBroker

No class docstring

Method | __init__ | Undocumented
Method | _do_connections | This method allows subclasses to add more connection mechanism
Method | _autoconnect_by_method_name | Offers autoconnection of widget signals based on function names.
Method | handler_block | Undocumented
Method | handler_unblock | Undocumented
Method | disconnect_autoconnected | Undocumented

def __init__(self, view, controller):
Undocumented
def _do_connections(self, view, methods):
overridden in kiwi.ui.views.GladeSignalBroker
This method allows subclasses to add more connection mechanism

def _autoconnect_by_method_name(self, view, methods):
Offers autoconnection of widget signals based on function names. You simply need to define your controller method in the format:

       def on_widget_name__signal_name(self, widget):

In other words, start the method by "on_", followed by the widget name, followed by two underscores ("__"), followed by the signal name. Note: If more than one double underscore sequences are in the string, the last one is assumed to separate the signal name.

def handler_block(self, widget, signal_name):
Undocumented
def handler_unblock(self, widget, signal_name):
Undocumented
def disconnect_autoconnected(self):
Undocumented