kiwi.decorators.signal_block(object) class documentationkiwi.decorators
(View In Hierarchy)
A decorator to be used on L{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.