1
2@c %start of fragment
3
4@node GtkFontSelection
5@chapter GtkFontSelection
6A widget for selecting fonts
7
8@section Overview
9The @code{<gtk-font-selection>} widget lists the available fonts, styles and
10sizes, allowing the user to select a font. It is used in the
11@code{<gtk-font-selection-dialog>} widget to provide a dialog box for selecting
12fonts.
13
14To set the font which is initially selected, use
15@code{gtk-font-selection-set-font-name}.
16
17To get the selected font use @code{gtk-font-selection-get-font-name}.
18
19To change the text which is shown in the preview area, use
20@code{gtk-font-selection-set-preview-text}.
21
22@section Usage
23@include defuns-gtkfontsel.xml.texi
24
25@c %end of fragment
26