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 : String? = nil) new

Instance Method Detail

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

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

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

def emit : Nil #

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

The signal name