struct Gtk::SignalListItemFactory::BindSignal

Overview

Emitted when an object has been bound to an item.

The handler for this signal must set to populate the listitem with widgets.

After this signal was emitted, the object might be shown in a Gtk::ListView or other widget.

The Gtk::SignalListItemFactory::#unbind signal is the opposite of this signal and can be used to undo everything done in this signal.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/signal_list_item_factory.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 #

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

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

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

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

The signal name