enum Gtk::FontLevel

Overview

The level of granularity for the font selection.

Depending on this value, the Pango::FontDescription that is returned by Gtk::FontDialogButton#font_desc will have more or less fields set.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/gtk.cr

Enum Members

Family = 0_u32

Select a font family

Face = 1_u32

Select a font face (i.e. a family and a style)

Font = 2_u32

Select a font (i.e. a face with a size, and possibly font variations)

Features = 3_u32

Select a font and font features

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def face? #

def family? #

def features? #

def font? #