]> Pileus Git - ~andy/gtk/blob - docs/reference/gtk/tmpl/gtkfontsel.sgml
d182606e45719efc9fbd7fa0f3a97e0e44a202e3
[~andy/gtk] / docs / reference / gtk / tmpl / gtkfontsel.sgml
1 <!-- ##### SECTION Title ##### -->
2 GtkFontSelection
3
4 <!-- ##### SECTION Short_Description ##### -->
5 A widget for selecting fonts
6
7 <!-- ##### SECTION Long_Description ##### -->
8 <para>
9 The #GtkFontSelection widget lists the available fonts, styles and sizes,
10 allowing the user to select a font.
11 It is used in the #GtkFontSelectionDialog widget to provide a dialog box for
12 selecting fonts.
13 </para>
14 <para>
15 To set the font which is initially selected, use
16 gtk_font_selection_set_font_name().
17 </para>
18 <para>
19 To get the selected font use gtk_font_selection_get_font_name().
20 </para>
21 <para>
22 To change the text which is shown in the preview area, use
23 gtk_font_selection_set_preview_text().
24 </para>
25
26 <!-- ##### SECTION See_Also ##### -->
27 <para>
28 <variablelist>
29
30 <varlistentry>
31 <term>#GtkFontSelectionDialog</term>
32 <listitem><para>a dialog box which uses #GtkFontSelection.</para></listitem>
33 </varlistentry>
34
35 </variablelist>
36 </para>
37
38 <!-- ##### SECTION Stability_Level ##### -->
39
40
41 <!-- ##### STRUCT GtkFontSelection ##### -->
42 <para>
43 The #GtkFontSelection struct contains private data only, and should
44 only be accessed using the functions below.
45 </para>
46
47
48 <!-- ##### ARG GtkFontSelection:font ##### -->
49 <para>
50
51 </para>
52
53 <!-- ##### ARG GtkFontSelection:font-name ##### -->
54 <para>
55
56 </para>
57
58 <!-- ##### ARG GtkFontSelection:preview-text ##### -->
59 <para>
60
61 </para>
62
63 <!-- ##### FUNCTION gtk_font_selection_new ##### -->
64 <para>
65
66 </para>
67
68 @Returns: 
69
70
71 <!-- ##### FUNCTION gtk_font_selection_get_font ##### -->
72 <para>
73
74 </para>
75
76 @fontsel: 
77 @Returns: 
78
79
80 <!-- ##### FUNCTION gtk_font_selection_get_font_name ##### -->
81 <para>
82 </para>
83
84 @fontsel: 
85 @Returns: 
86
87
88 <!-- ##### FUNCTION gtk_font_selection_set_font_name ##### -->
89 <para>
90 </para>
91
92 @fontsel: 
93 @fontname: 
94 @Returns: 
95
96
97 <!-- ##### FUNCTION gtk_font_selection_get_preview_text ##### -->
98 <para>
99
100 </para>
101
102 @fontsel: 
103 @Returns: 
104
105
106 <!-- ##### FUNCTION gtk_font_selection_set_preview_text ##### -->
107 <para>
108
109 </para>
110
111 @fontsel: 
112 @text: 
113
114
115 <!-- ##### FUNCTION gtk_font_selection_get_face ##### -->
116 <para>
117
118 </para>
119
120 @fontsel: 
121 @Returns: 
122
123
124 <!-- ##### FUNCTION gtk_font_selection_get_face_list ##### -->
125 <para>
126
127 </para>
128
129 @fontsel: 
130 @Returns: 
131
132
133 <!-- ##### FUNCTION gtk_font_selection_get_family ##### -->
134 <para>
135
136 </para>
137
138 @fontsel: 
139 @Returns: 
140
141
142 <!-- ##### FUNCTION gtk_font_selection_get_size ##### -->
143 <para>
144
145 </para>
146
147 @fontsel: 
148 @Returns: 
149
150
151 <!-- ##### FUNCTION gtk_font_selection_get_family_list ##### -->
152 <para>
153
154 </para>
155
156 @fontsel: 
157 @Returns: 
158
159
160 <!-- ##### FUNCTION gtk_font_selection_get_preview_entry ##### -->
161 <para>
162
163 </para>
164
165 @fontsel: 
166 @Returns: 
167
168
169 <!-- ##### FUNCTION gtk_font_selection_get_size_entry ##### -->
170 <para>
171
172 </para>
173
174 @fontsel: 
175 @Returns: 
176
177
178 <!-- ##### FUNCTION gtk_font_selection_get_size_list ##### -->
179 <para>
180
181 </para>
182
183 @fontsel: 
184 @Returns: 
185
186