Signal.BoundSignal#

class Signal.BoundSignal(signal, gobj)#

Temporary binding object which can be used for connecting signals without specifying the signal name string to connect.

Methods#

class Signal.BoundSignal
connect(callback, *args, **kargs)#

Same as GObject.Object.connect except there is no need to specify the signal name.

Parameters:
  • callback

  • args

  • kargs

connect_detailed(callback, detail, *args, **kargs)#

Same as GObject.Object.connect except there is no need to specify the signal name. In addition concats “::<detail>” to the signal name when connecting; for use with notifications like “notify” when a property changes.

Parameters:
  • callback

  • detail

  • args

  • kargs

disconnect(handler_id)#

Same as GObject.Object.disconnect.

Parameters:

handler_id

emit(*args, **kargs)#

Same as GObject.Object.emit except there is no need to specify the signal name.

Parameters:
  • args

  • kargs