struct Gtk::SignalListItemFactory::SetupSignal

Overview

Emitted when a new listitem has been created and needs to be setup for use.

It is the first signal emitted for every listitem.

The Gtk::SignalListItemFactory::#teardown 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]