struct Gtk::Widget::StateFlagsChangedSignal

Overview

Emitted when the widget state changes.

See Gtk::Widget#state_flags.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/widget.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 : String? = nil) new

Instance Method Detail

def connect(*, after : Bool = false, &block : Proc(Gtk::StateFlags, Nil)) : GObject::SignalConnection #

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

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

def emit(flags : Gtk::StateFlags) : Nil #

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

The signal name