class

UIng::FontButton

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

Constructors

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

Instance methods

font

Yields the selected font as a block-scoped FontDescriptor. Use FontDescriptor#snapshot to retain its values after the block returns.

Source
font(descriptor : FontDescriptor)
Source
free_font(font_descriptor : FontDescriptor) : Nil
Source
on_changed

Registers a callback that receives a block-scoped FontDescriptor. Use FontDescriptor#snapshot to retain the selected font after the callback returns.

Source
to_unsafe
Source