struct Gtk::NativeDialog::ResponseSignal

Overview

Emitted when the user responds to the dialog.

When this is called the dialog has been hidden.

If you call Gtk::NativeDialog#hide before the user responds to the dialog this signal will not be emitted.

Defined in:

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

Instance Method Detail

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

[View source]
def connect(handler : Proc(Int32, Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(Gtk::NativeDialog, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def emit(response_id : Int32) : Nil #

[View source]
def name : String #
Description copied from struct GObject::Signal

The signal name


[View source]