~ubuntu-branches/ubuntu/precise/gtk+2.0/precise-updates

« back to all changes in this revision

Viewing changes to docs/reference/gtk/tmpl/gtkfontseldlg.sgml

  • Committer: Package Import Robot
  • Author(s): Ken VanDine
  • Date: 2011-12-01 11:40:06 UTC
  • mfrom: (1.14.11)
  • Revision ID: package-import@ubuntu.com-20111201114006-nrmf6qu3pg512veo
Tags: 2.24.8-0ubuntu1
* New upstream release 
  - gtkfilechooser should be more robust to malformed URIs
    in .gtk-bookmarks (LP: #189494)
* debian/patches/010_make_bg_changes_queue_repaint.patch
  - dropped it introduces performance regressions in some gtk2 
    apps (LP: #889019)
* 101_filechooser.patch, 000git_file_chooser.patch: dropped, upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
<!-- ##### SECTION Image ##### -->
52
 
 
53
 
 
54
 
<!-- ##### STRUCT GtkFontSelectionDialog ##### -->
55
 
 
56
 
 
57
 
 
58
 
<!-- ##### FUNCTION gtk_font_selection_dialog_new ##### -->
59
 
<para>
60
 
 
61
 
</para>
62
 
 
63
 
@title: 
64
 
@Returns: 
65
 
 
66
 
 
67
 
<!-- ##### FUNCTION gtk_font_selection_dialog_get_font ##### -->
68
 
<para>
69
 
 
70
 
</para>
71
 
 
72
 
@fsd: 
73
 
@Returns: 
74
 
 
75
 
 
76
 
<!-- ##### FUNCTION gtk_font_selection_dialog_get_font_name ##### -->
77
 
<para>
78
 
</para>
79
 
 
80
 
@fsd: 
81
 
@Returns: 
82
 
 
83
 
 
84
 
<!-- ##### FUNCTION gtk_font_selection_dialog_set_font_name ##### -->
85
 
<para>
86
 
 
87
 
</para>
88
 
 
89
 
@fsd: 
90
 
@fontname: 
91
 
@Returns: 
92
 
 
93
 
 
94
 
<!-- ##### FUNCTION gtk_font_selection_dialog_get_preview_text ##### -->
95
 
<para>
96
 
 
97
 
</para>
98
 
 
99
 
@fsd: 
100
 
@Returns: 
101
 
 
102
 
 
103
 
<!-- ##### FUNCTION gtk_font_selection_dialog_set_preview_text ##### -->
104
 
<para>
105
 
 
106
 
</para>
107
 
 
108
 
@fsd: 
109
 
@text: 
110
 
 
111
 
 
112
 
<!-- ##### FUNCTION gtk_font_selection_dialog_get_apply_button ##### -->
113
 
<para>
114
 
 
115
 
</para>
116
 
 
117
 
@fsd: 
118
 
@Returns: 
119
 
 
120
 
 
121
 
<!-- ##### FUNCTION gtk_font_selection_dialog_get_cancel_button ##### -->
122
 
<para>
123
 
 
124
 
</para>
125
 
 
126
 
@fsd: 
127
 
@Returns: 
128
 
 
129
 
 
130
 
<!-- ##### FUNCTION gtk_font_selection_dialog_get_ok_button ##### -->
131
 
<para>
132
 
 
133
 
</para>
134
 
 
135
 
@fsd: 
136
 
@Returns: 
137
 
 
138
 
 
139
 
<!-- ##### FUNCTION gtk_font_selection_dialog_get_font_selection ##### -->
140
 
<para>
141
 
 
142
 
</para>
143
 
 
144
 
@fsd: 
145
 
@Returns: 
146
 
 
147