struct Gtk::Dialog::ResponseSignal
- Gtk::Dialog::ResponseSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
Emitted when an action widget is clicked.
The signal is also emitted when the dialog receives a
delete event, and when Gtk::Dialog#response
is called.
On a delete event, the response ID is %GTK_RESPONSE_DELETE_EVENT.
Otherwise, it depends on which action widget was clicked.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/dialog.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Int32, Nil)) : GObject::SignalConnection
- #connect(handler : Proc(Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::Dialog, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(response_id : Int32) : Nil
-
#name : String
The signal name
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(handler : Proc(Gtk::Dialog, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
#