class

UIng::FontButton

Inherits UIng::Control < UIng::BlockConstructor < Reference < Object

Constructors

new(*args, &)
Source
new(*args, **kwargs, &)
Source

Instance methods

clear_on_changed

Clears the callback; equivalent to on_changed(nil).

Source
font(descriptor : FontDescriptor) : Nil

DEPRECATED Use #font to return a FontDescriptor

Source
font

Returns the selected font as a Crystal-managed descriptor.

Source
on_changed

Registers a callback that receives a retainable FontDescriptor.

Source
on_changed(callback : Nil) : Nil
Source
to_unsafe
Source