module Gtk::FontChooser
Overview
Gtk::FontChooser
is an interface that can be implemented by widgets
for choosing fonts.
In GTK, the main objects that implement this interface are
Gtk::FontChooserWidget
, Gtk::FontChooserDialog
and
Gtk::FontButton
.
Direct including types
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/font_chooser.crConstructors
-
.cast(obj : GObject::Object) : self
Cast a
GObject::Object
toself
, throws aTypeCastError
if the cast can't be made.
Class Method Summary
Instance Method Summary
- #filter_func=(filter : Gtk::FontFilterFunc | Nil) : Nil
- #font : String | Nil
- #font=(fontname : String) : Nil
-
#font=(value : Nil) : Nil
Set
#font
property to nil. -
#font? : String | Nil
Same as
#font
, but can return nil. - #font_activated_signal
- #font_desc : Pango::FontDescription | Nil
- #font_desc=(font_desc : Pango::FontDescription) : Nil
- #font_desc=(value : Pango::FontDescription | Nil) : Pango::FontDescription | Nil
- #font_face : Pango::FontFace | Nil
- #font_family : Pango::FontFamily | Nil
- #font_features : String
-
#font_features? : String | Nil
Same as
#font_features
, but can return nil. - #font_map : Pango::FontMap | Nil
- #font_map=(fontmap : Pango::FontMap | Nil) : Nil
- #font_size : Int32
- #language : String
- #language=(language : String) : Nil
-
#language=(value : Nil) : Nil
Set
#language
property to nil. -
#language? : String | Nil
Same as
#language
, but can return nil. - #level : Gtk::FontChooserLevel
- #level=(level : Gtk::FontChooserLevel) : Nil
- #preview_text : String
- #preview_text=(text : String) : Nil
-
#preview_text=(value : Nil) : Nil
Set
#preview_text
property to nil. -
#preview_text? : String | Nil
Same as
#preview_text
, but can return nil. - #show_preview_entry : Bool
- #show_preview_entry=(show_preview_entry : Bool) : Nil
- #show_preview_entry? : Bool
- #to_unsafe
Constructor Detail
Cast a GObject::Object
to self
, throws a TypeCastError
if the cast can't be made.