struct Gtk::InfoBar::ResponseSignal

Overview

Emitted when an action widget is clicked.

The signal is also emitted when the application programmer calls Gtk::InfoBar#response. The @response_id depends on which action widget was clicked.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/info_bar.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(Int32, Nil)) : GObject::SignalConnection #

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

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

def emit(response_id : Int32) : Nil #

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

The signal name