1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 A dialog box for selecting fonts
7 <!-- ##### SECTION Long_Description ##### -->
9 The #GtkFontSelectionDialog widget is a dialog box for selecting a font.
12 To set the font which is initially selected, use
13 gtk_font_selection_dialog_set_font_name().
16 To get the selected font use gtk_font_selection_dialog_get_font_name().
19 To change the text which is shown in the preview area, use
20 gtk_font_selection_dialog_set_preview_text().
23 <refsect2 id="GtkFontSelectionDialog-BUILDER-UI">
24 <title>GtkFontSelectionDialog as GtkBuildable</title>
26 The GtkFontSelectionDialog implementation of the GtkBuildable interface
27 exposes the embedded #GtkFontSelection as internal child with the
28 name "font_selection". It also exposes the buttons with the names
29 "ok_button", "cancel_button" and "apply_button".
33 <!-- ##### SECTION See_Also ##### -->
38 <term>#GtkFontSelection</term>
39 <listitem><para>the underlying widget for selecting
40 fonts.</para></listitem>
41 <term>#GtkDialog</term>
42 <listitem><para>the parent class of GtkFontSelectionDialog</para></listitem>
48 <!-- ##### SECTION Stability_Level ##### -->
51 <!-- ##### STRUCT GtkFontSelectionDialog ##### -->
55 <!-- ##### FUNCTION gtk_font_selection_dialog_new ##### -->
64 <!-- ##### FUNCTION gtk_font_selection_dialog_get_font ##### -->
73 <!-- ##### FUNCTION gtk_font_selection_dialog_get_font_name ##### -->
81 <!-- ##### FUNCTION gtk_font_selection_dialog_set_font_name ##### -->
91 <!-- ##### FUNCTION gtk_font_selection_dialog_get_preview_text ##### -->
100 <!-- ##### FUNCTION gtk_font_selection_dialog_set_preview_text ##### -->
109 <!-- ##### FUNCTION gtk_font_selection_dialog_get_apply_button ##### -->
118 <!-- ##### FUNCTION gtk_font_selection_dialog_get_cancel_button ##### -->
127 <!-- ##### FUNCTION gtk_font_selection_dialog_get_ok_button ##### -->