struct Adw::AlertDialog::ResponseSignal
- Adw::AlertDialog::ResponseSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
This signal is emitted when the dialog is closed. response will be set to the response ID of the button that had been activated.
if the dialog was closed by pressing Escape or with a system action, response will be set to the value of [property@AlertDialog:close-response].
Defined in:
lib/gi-crystal/src/auto/adw-1/alert_dialog.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(String, Nil)) : GObject::SignalConnection
- #connect(handler : Proc(String, Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Adw::AlertDialog, String, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(response : String) : 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 : Nil | String = nil)
new
Instance Method Detail
def connect(handler : Proc(Adw::AlertDialog, String, Nil), *, after : Bool = false) : GObject::SignalConnection
#