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
DEPRECATED
-
#font : String | Nil
DEPRECATED
-
#font=(fontname : String) : Nil
DEPRECATED
-
#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
DEPRECATED
-
#font_desc=(font_desc : Pango::FontDescription) : Nil
DEPRECATED
- #font_desc=(value : Pango::FontDescription | Nil) : Pango::FontDescription | Nil
-
#font_face : Pango::FontFace | Nil
DEPRECATED
-
#font_family : Pango::FontFamily | Nil
DEPRECATED
-
#font_features : String
DEPRECATED
-
#font_features? : String | Nil
Same as
#font_features
, but can return nil. -
#font_map : Pango::FontMap | Nil
DEPRECATED
-
#font_map=(fontmap : Pango::FontMap | Nil) : Nil
DEPRECATED
-
#font_size : Int32
DEPRECATED
-
#language : String
DEPRECATED
-
#language=(language : String) : Nil
DEPRECATED
-
#language=(value : Nil) : Nil
Set
#language
property to nil. -
#language? : String | Nil
Same as
#language
, but can return nil. -
#level : Gtk::FontChooserLevel
DEPRECATED
-
#level=(level : Gtk::FontChooserLevel) : Nil
DEPRECATED
-
#preview_text : String
DEPRECATED
-
#preview_text=(text : String) : Nil
DEPRECATED
-
#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
DEPRECATED
-
#show_preview_entry=(show_preview_entry : Bool) : Nil
DEPRECATED
- #show_preview_entry? : Bool
- #to_unsafe