gtkfontseldlg.sgml 2.32 KB
Newer Older
Owen Taylor's avatar
Owen Taylor committed
1 2 3 4
<!-- ##### SECTION Title ##### -->
GtkFontSelectionDialog

<!-- ##### SECTION Short_Description ##### -->
5
A dialog box for selecting fonts
Owen Taylor's avatar
Owen Taylor committed
6 7 8 9 10 11 12 13 14 15

<!-- ##### SECTION Long_Description ##### -->
<para>
The #GtkFontSelectionDialog widget is a dialog box for selecting a font.
</para>
<para>
To set the font which is initially selected, use
gtk_font_selection_dialog_set_font_name().
</para>
<para>
16
To get the selected font use gtk_font_selection_dialog_get_font_name().
Owen Taylor's avatar
Owen Taylor committed
17 18 19 20 21 22
</para>
<para>
To change the text which is shown in the preview area, use
gtk_font_selection_dialog_set_preview_text().
</para>

23 24 25 26 27 28 29 30 31 32
<refsect2 id="GtkFontSelectionDialog-BUILDER-UI">
<title>GtkFontSelectionDialog as GtkBuildable</title>
<para>
The GtkFontSelectionDialog implementation of the GtkBuildable interface
exposes the embedded #GtkFontSelection as internal child with the
name "font_selection". It also exposes the buttons with the names
"ok_button", "cancel_button" and "apply_button".
</para>
</refsect2>

Owen Taylor's avatar
Owen Taylor committed
33 34 35 36 37 38
<!-- ##### SECTION See_Also ##### -->
<para>
<variablelist>

<varlistentry>
<term>#GtkFontSelection</term>
39 40 41 42
<listitem><para>the underlying widget for selecting
fonts.</para></listitem>
<term>#GtkDialog</term>
<listitem><para>the parent class of GtkFontSelectionDialog</para></listitem>
Owen Taylor's avatar
Owen Taylor committed
43 44 45 46 47
</varlistentry>

</variablelist>
</para>

Matthias Clasen's avatar
2.7.0  
Matthias Clasen committed
48 49 50
<!-- ##### SECTION Stability_Level ##### -->


Owen Taylor's avatar
Owen Taylor committed
51 52 53
<!-- ##### STRUCT GtkFontSelectionDialog ##### -->


54

Owen Taylor's avatar
Owen Taylor committed
55 56
<!-- ##### FUNCTION gtk_font_selection_dialog_new ##### -->
<para>
Matthias Clasen's avatar
Matthias Clasen committed
57

Owen Taylor's avatar
Owen Taylor committed
58 59
</para>

Matthias Clasen's avatar
2.15.0  
Matthias Clasen committed
60 61
@title: 
@Returns: 
Owen Taylor's avatar
Owen Taylor committed
62 63 64 65


<!-- ##### FUNCTION gtk_font_selection_dialog_get_font ##### -->
<para>
Matthias Clasen's avatar
Matthias Clasen committed
66

Owen Taylor's avatar
Owen Taylor committed
67 68
</para>

Matthias Clasen's avatar
Matthias Clasen committed
69
@fsd: 
Matthias Clasen's avatar
2.15.0  
Matthias Clasen committed
70
@Returns: 
Owen Taylor's avatar
Owen Taylor committed
71 72 73 74 75 76


<!-- ##### FUNCTION gtk_font_selection_dialog_get_font_name ##### -->
<para>
</para>

77 78
@fsd: 
@Returns: 
Owen Taylor's avatar
Owen Taylor committed
79 80 81 82


<!-- ##### FUNCTION gtk_font_selection_dialog_set_font_name ##### -->
<para>
Matthias Clasen's avatar
Matthias Clasen committed
83

Owen Taylor's avatar
Owen Taylor committed
84 85
</para>

Matthias Clasen's avatar
Matthias Clasen committed
86 87
@fsd: 
@fontname: 
Matthias Clasen's avatar
2.15.0  
Matthias Clasen committed
88
@Returns: 
Owen Taylor's avatar
Owen Taylor committed
89 90 91 92


<!-- ##### FUNCTION gtk_font_selection_dialog_get_preview_text ##### -->
<para>
Matthias Clasen's avatar
Matthias Clasen committed
93

Owen Taylor's avatar
Owen Taylor committed
94 95
</para>

Matthias Clasen's avatar
2.15.0  
Matthias Clasen committed
96
@fsd: 
Matthias Clasen's avatar
Matthias Clasen committed
97
@Returns: 
Owen Taylor's avatar
Owen Taylor committed
98 99 100 101


<!-- ##### FUNCTION gtk_font_selection_dialog_set_preview_text ##### -->
<para>
Matthias Clasen's avatar
Matthias Clasen committed
102

Owen Taylor's avatar
Owen Taylor committed
103 104
</para>

Matthias Clasen's avatar
2.15.0  
Matthias Clasen committed
105 106
@fsd: 
@text: 
Owen Taylor's avatar
Owen Taylor committed
107 108


Matthias Clasen's avatar
2.13.7  
Matthias Clasen committed
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135
<!-- ##### FUNCTION gtk_font_selection_dialog_get_apply_button ##### -->
<para>

</para>

@fsd: 
@Returns: 


<!-- ##### FUNCTION gtk_font_selection_dialog_get_cancel_button ##### -->
<para>

</para>

@fsd: 
@Returns: 


<!-- ##### FUNCTION gtk_font_selection_dialog_get_ok_button ##### -->
<para>

</para>

@fsd: 
@Returns: