]> Pileus Git - ~andy/gtk/blob - docs/reference/gtk/tmpl/gtkfontseldlg.sgml
c8c5ad2aaf62d113f62268a688c2f75474e73f75
[~andy/gtk] / docs / reference / gtk / tmpl / gtkfontseldlg.sgml
1 <!-- ##### SECTION Title ##### -->
2 GtkFontSelectionDialog
3
4 <!-- ##### SECTION Short_Description ##### -->
5 A dialog box for selecting fonts
6
7 <!-- ##### SECTION Long_Description ##### -->
8 <para>
9 The #GtkFontSelectionDialog widget is a dialog box for selecting a font.
10 </para>
11 <para>
12 To set the font which is initially selected, use
13 gtk_font_selection_dialog_set_font_name().
14 </para>
15 <para>
16 To get the selected font use gtk_font_selection_dialog_get_font_name().
17 </para>
18 <para>
19 To change the text which is shown in the preview area, use
20 gtk_font_selection_dialog_set_preview_text().
21 </para>
22
23 <refsect2 id="GtkFontSelectionDialog-BUILDER-UI">
24 <title>GtkFontSelectionDialog as GtkBuildable</title>
25 <para>
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".
30 </para>
31 </refsect2>
32
33 <!-- ##### SECTION See_Also ##### -->
34 <para>
35 <variablelist>
36
37 <varlistentry>
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>
43 </varlistentry>
44
45 </variablelist>
46 </para>
47
48 <!-- ##### SECTION Stability_Level ##### -->
49
50
51 <!-- ##### STRUCT GtkFontSelectionDialog ##### -->
52
53
54
55 <!-- ##### FUNCTION gtk_font_selection_dialog_new ##### -->
56 <para>
57
58 </para>
59
60 @title: 
61 @Returns: 
62
63
64 <!-- ##### FUNCTION gtk_font_selection_dialog_get_font ##### -->
65 <para>
66
67 </para>
68
69 @fsd: 
70 @Returns: 
71
72
73 <!-- ##### FUNCTION gtk_font_selection_dialog_get_font_name ##### -->
74 <para>
75 </para>
76
77 @fsd: 
78 @Returns: 
79
80
81 <!-- ##### FUNCTION gtk_font_selection_dialog_set_font_name ##### -->
82 <para>
83
84 </para>
85
86 @fsd: 
87 @fontname: 
88 @Returns: 
89
90
91 <!-- ##### FUNCTION gtk_font_selection_dialog_get_preview_text ##### -->
92 <para>
93
94 </para>
95
96 @fsd: 
97 @Returns: 
98
99
100 <!-- ##### FUNCTION gtk_font_selection_dialog_set_preview_text ##### -->
101 <para>
102
103 </para>
104
105 @fsd: 
106 @text: 
107
108
109 <!-- ##### FUNCTION gtk_font_selection_dialog_get_apply_button ##### -->
110 <para>
111
112 </para>
113
114 @fsd: 
115 @Returns: 
116
117
118 <!-- ##### FUNCTION gtk_font_selection_dialog_get_cancel_button ##### -->
119 <para>
120
121 </para>
122
123 @fsd: 
124 @Returns: 
125
126
127 <!-- ##### FUNCTION gtk_font_selection_dialog_get_ok_button ##### -->
128 <para>
129
130 </para>
131
132 @fsd: 
133 @Returns: 
134
135