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:

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 #