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:

auto/gtk-4.0/signal_list_item_factory.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(source, detail = nil) #

Instance Method Detail

def [](detail : String) : self #

def connect(&block : Proc(Gtk::ListItem, Nil)) #

def connect(handler : Proc(Gtk::ListItem, Nil)) #

def connect(handler : Proc(Gtk::SignalListItemFactory, Gtk::ListItem, Nil)) #

def connect_after(&block : Proc(Gtk::ListItem, Nil)) #

def connect_after(handler : Proc(Gtk::ListItem, Nil)) #

def connect_after(handler : Proc(Gtk::SignalListItemFactory, Gtk::ListItem, Nil)) #

def emit(listitem : Gtk::ListItem) : Nil #

def name #