UIng::FontButton
Inherits UIng::Control < UIng::BlockConstructor < Reference < Object
Constructors
new(*args, &)
Sourcenew(*args, **kwargs, &)
Sourcenew
SourceInstance methods
font
Yields the selected font as a block-scoped FontDescriptor. Use FontDescriptor#snapshot to retain its values after the block returns.
font(descriptor : FontDescriptor)
Sourcefree_font(font_descriptor : FontDescriptor) : Nil
Sourceon_changed
Registers a callback that receives a block-scoped FontDescriptor. Use FontDescriptor#snapshot to retain the selected font after the callback returns.
to_unsafe
Source