struct Gtk::SignalListItemFactory::BindSignal

Overview

Emitted when a new Gtk::ListItem#item has been set on the listitem and should be bound for use.

After this signal was emitted, the listitem might be shown in a Gtk::ListView or other list 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
bindings/gtk/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(Gtk::ListItem, Nil)) : GObject::SignalConnection #

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

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

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

[View source]
def emit(listitem : Gtk::ListItem) : Nil #

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

The signal name


[View source]