struct Gtk::FontButton::FontSetSignal

Overview

Emitted when the user selects a font.

When handling this signal, use Gtk::FontChooser#font to find out which font was just selected.

Note that this signal is only emitted when the user changes the font. If you need to react to programmatic font changes as well, use the notify::font signal.

Defined in:

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

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

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

[View source]
def emit : Nil #

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

The signal name


[View source]