struct GObject::SignalGroup::BindSignal

Overview

This signal is emitted when #GSignalGroup:target is set to a new value other than nil. It is similar to #GObject::notify on target except it will not emit when #GSignalGroup:target is nil and also allows for receiving the #GObject without a data-race.

Defined in:

lib/gi-crystal/src/auto/g_object-2.0/signal_group.cr

Instance Method Summary

Instance methods inherited from struct GObject::Signal

[](detail : String) : self [], name : String name

Constructor methods inherited from struct GObject::Signal

new(source : GObject::Object, detail : Nil | String = nil) new

Instance Method Detail

def connect(*, after : Bool = false, &block : Proc(GObject::Object, Nil)) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(GObject::Object, Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(GObject::SignalGroup, GObject::Object, Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def emit(instance : GObject::Object) : Nil #

[View source]
def name : String #
Description copied from struct GObject::Signal

The signal name


[View source]