k.d.signal_block(object) : class documentation

Part of kiwi.decorators View In Hierarchy

A decorator to be used on kiwi.ui.views.SlaveView methods. It takes a list of arguments which is the name of the widget and the signal name separated by a dot.

For instance:

>>> class MyView(SlaveView):
...     @signal_block('money.changed')
...     def update_money(self):
...         self.money.set_value(10)
...     def on_money__changed(self):
...         pass

When calling update_money() the value of the spinbutton called money will be updated, but on_money__changed will not be called.

Method __init__ Undocumented
Method __call__ Undocumented
def __init__(self, *signals):
Undocumented
def __call__(self, func):
Undocumented
API Documentation for Kiwi, generated by pydoctor at 2010-05-20 02:10:57.