FontSelection
Object Hierarchy:
Description:
[
CCode ( type_id =
"gtk_font_selection_get_type ()" ) ]
[
Version ( deprecated =
true , deprecated_since =
"3.2" , replacement =
"FontChooserWidget" ) ]
public class FontSelection :
Box,
Implementor,
Buildable,
Orientable
Warning: FontSelection is deprecated since 3.2. Use FontChooserWidget.
Content:
Properties:
Creation methods:
Methods:
- public unowned FontFace get_face ()
Gets the FontFace representing the
selected font group details (i.
- public unowned Widget get_face_list ()
This returns the TreeView
which lists all styles available for the selected font.
- public unowned FontFamily get_family ()
Gets the FontFamily representing
the selected font family.
- public unowned Widget get_family_list ()
This returns the TreeView
that lists font families, for example, “Sans”, “Serif”, etc.
- public string get_font_name ()
Gets the currently-selected font name.
- public unowned Widget get_preview_entry ()
This returns the Entry used
to display the font as a preview.
- public unowned string get_preview_text ()
Gets the text displayed in the preview area.
- public int get_size ()
The selected font size.
- public unowned Widget get_size_entry ()
This returns the Entry used
to allow the user to edit the font number manually instead of selecting it from the list of font sizes.
- public unowned Widget get_size_list ()
This returns the TreeView
used to list font sizes.
- public bool set_font_name (string fontname)
Sets the currently-selected font.
- public void set_preview_text (string text)
Sets the text displayed in the preview area.
Inherited Members:
All known members inherited from class Gtk.Box
All known members inherited from class Gtk.Container
All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface Atk.Implementor
All known members inherited from interface Gtk.Buildable
All known members inherited from interface Gtk.Orientable