# Class k.t.WaitForSignal(WaitCondition):

Part of kiwi.tasklet View In Hierarchy

An object that waits for a signal emission

Method | __init__ | Waits for a signal to be emitted on a specific GObject instance or class.
Method | arm | See `WaitCondition.arm`
Method | _object_destroyed | Undocumented
Method | disarm | See WaitCondition.disarm
Method | _signal_cb | Undocumented

def __init__(self, obj, signal):
overrides kiwi.tasklet.WaitCondition.__init__
Waits for a signal to be emitted on a specific GObject instance or class.

Parameters | obj | object monitor for the signal (type: gobject.GObject )
| signal | signal name (type: str )

def arm(self, tasklet):
overrides kiwi.tasklet.WaitCondition.arm
See `WaitCondition.arm`

def _object_destroyed(self, dummy_obj):
Undocumented
def disarm(self):
overrides kiwi.tasklet.WaitCondition.disarm
See WaitCondition.disarm

def _signal_cb(self, obj, *args):
Undocumented