struct Adw::MessageDialog::ResponseSignal
- Adw::MessageDialog::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@MessageDialog:close-response].
Defined in:
lib/gi-crystal/src/auto/adw-1/message_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::MessageDialog, 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 : String? = nil)
new
Instance Method Detail
def connect(handler : Proc(Adw::MessageDialog, String, Nil), *, after : Bool = false) : GObject::SignalConnection
#