Class: Gtk::FontSelection
- Inherits:
-
Object
- Object
- Gtk::FontSelection
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#face ⇒ Pango::FontFace
Gets the Pango::FontFace representing the selected font group details (i.e. family, slant, weight, width, etc).
-
#face_list ⇒ Gtk::Widget
This returns the Gtk::TreeView which lists all styles available for the selected font.
-
#family ⇒ Pango::FontFamily
Gets the Pango::FontFamily representing the selected font family.
-
#family_list ⇒ Gtk::Widget
This returns the Gtk::TreeView that lists font families, for example, “Sans”, “Serif”, etc.
-
#font_name ⇒ String
Font-name.
- #font_name=(font_name) ⇒ String
-
#new ⇒ Gtk::Widget
Creates a new Gtk::FontSelection.
-
#preview_entry ⇒ Gtk::Widget
This returns the Gtk::Entry used to display the font as a preview.
-
#preview_text ⇒ String
Preview-text.
- #preview_text=(preview_text) ⇒ String
-
#size ⇒ Integer
The selected font size.
-
#size_entry ⇒ Gtk::Widget
This returns the Gtk::Entry used to allow the user to edit the font number manually instead of selecting it from the list of font sizes.
-
#size_list ⇒ Gtk::Widget
This returns the Gtk::TreeView used to list font sizes.
Instance Method Details
#face ⇒ Pango::FontFace
Gets the Pango::FontFace representing the selected font group details (i.e. family, slant, weight, width, etc).
#face_list ⇒ Gtk::Widget
This returns the Gtk::TreeView which lists all styles available for the selected font. For example, “Regular”, “Bold”, etc.
#family ⇒ Pango::FontFamily
Gets the Pango::FontFamily representing the selected font family.
#family_list ⇒ Gtk::Widget
This returns the Gtk::TreeView that lists font families, for example, “Sans”, “Serif”, etc.
#font_name ⇒ String
Returns font-name.
#font_name=(font_name) ⇒ String
#new ⇒ Gtk::Widget
Creates a new Gtk::FontSelection.
#preview_entry ⇒ Gtk::Widget
This returns the Gtk::Entry used to display the font as a preview.
#preview_text ⇒ String
Returns preview-text.
#preview_text=(preview_text) ⇒ String
#size ⇒ Integer
The selected font size.
#size_entry ⇒ Gtk::Widget
This returns the Gtk::Entry used to allow the user to edit the font number manually instead of selecting it from the list of font sizes.
#size_list ⇒ Gtk::Widget
This returns the Gtk::TreeView used to list font sizes.