struct GObject::SignalGroup::BindSignal

Overview

This signal is emitted when #GSignalGroup:target is set to a new value other than %NULL. It is similar to #GObject::notify on target except it will not emit when #GSignalGroup:target is %NULL 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 : String? = nil) new

Instance Method Detail

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

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

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

def emit(instance : GObject::Object) : Nil #

def name : String #
Description copied from struct GObject::Signal

The signal name