struct Gtk::Widget::MnemonicActivateSignal

Overview

Emitted when a widget is activated via a mnemonic.

The default handler for this signal activates @widget if @group_cycling is false, or just makes @widget grab focus if @group_cycling is true.

Defined in:

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

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

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

def emit(group_cycling : Bool) : Nil #

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

The signal name