~ubuntu-branches/ubuntu/quantal/gtk+2.0/quantal-proposed

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2012-02-06 22:03:26 UTC
  • mfrom: (1.14.12)
  • Revision ID: package-import@ubuntu.com-20120206220326-10d7cnkpdpbi9iox
Tags: 2.24.10-0ubuntu1
* New upstream version, dropped patches included in the new version
* debian/patches/090_logging_file_saves.patch:
  - improve the logging of saved filed, thanks Siegfried Gevatter 
    (lp: #920961)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- ##### SECTION Title ##### -->
 
2
GtkFrame
 
3
 
 
4
<!-- ##### SECTION Short_Description ##### -->
 
5
A bin with a decorative frame and optional label
 
6
 
 
7
<!-- ##### SECTION Long_Description ##### -->
 
8
<para>
 
9
The frame widget is a Bin that surrounds its child
 
10
with a decorative frame and an optional label.
 
11
If present, the label is drawn in a gap in the
 
12
top side of the frame. The position of the
 
13
label can be controlled with gtk_frame_set_label_align().
 
14
</para>
 
15
 
 
16
<refsect2 id="GtkFrame-BUILDER-UI">
 
17
<title>GtkFrame as GtkBuildable</title>
 
18
<para>
 
19
The GtkFrame implementation of the GtkBuildable interface
 
20
supports placing a child in the label position by specifying
 
21
"label" as the "type" attribute of a &lt;child&gt; element.
 
22
A normal content child can be specified without specifying 
 
23
a &lt;child&gt; type attribute.
 
24
</para> 
 
25
<example>
 
26
<title>A UI definition fragment with GtkFrame</title>
 
27
<programlisting><![CDATA[
 
28
<object class="GtkFrame">
 
29
  <child type="label">
 
30
    <object class="GtkLabel" id="frame-label"/>
 
31
  </child>
 
32
  <child>
 
33
    <object class="GtkEntry" id="frame-content"/>
 
34
  </child>
 
35
</object>
 
36
]]></programlisting>
 
37
</example>
 
38
</refsect2>
 
39
 
 
40
<!-- ##### SECTION See_Also ##### -->
 
41
<para>
 
42
 
 
43
</para>
 
44
 
 
45
<!-- ##### SECTION Stability_Level ##### -->
 
46
 
 
47
 
 
48
<!-- ##### SECTION Image ##### -->
 
49
 
 
50
 
 
51
<!-- ##### STRUCT GtkFrame ##### -->
 
52
<para>
 
53
 
 
54
</para>
 
55
 
 
56
 
 
57
<!-- ##### ARG GtkFrame:label ##### -->
 
58
<para>
 
59
 
 
60
</para>
 
61
 
 
62
<!-- ##### ARG GtkFrame:label-widget ##### -->
 
63
<para>
 
64
 
 
65
</para>
 
66
 
 
67
<!-- ##### ARG GtkFrame:label-xalign ##### -->
 
68
<para>
 
69
 
 
70
</para>
 
71
 
 
72
<!-- ##### ARG GtkFrame:label-yalign ##### -->
 
73
<para>
 
74
 
 
75
</para>
 
76
 
 
77
<!-- ##### ARG GtkFrame:shadow ##### -->
 
78
<para>
 
79
 
 
80
</para>
 
81
 
 
82
<!-- ##### ARG GtkFrame:shadow-type ##### -->
 
83
<para>
 
84
 
 
85
</para>
 
86
 
 
87
<!-- ##### FUNCTION gtk_frame_new ##### -->
 
88
<para>
 
89
</para>
 
90
 
 
91
@label: 
 
92
@Returns: 
 
93
 
 
94
 
 
95
<!-- ##### FUNCTION gtk_frame_set_label ##### -->
 
96
<para>
 
97
</para>
 
98
 
 
99
@frame: 
 
100
@label: 
 
101
 
 
102
 
 
103
<!-- ##### FUNCTION gtk_frame_set_label_widget ##### -->
 
104
<para>
 
105
 
 
106
</para>
 
107
 
 
108
@frame: 
 
109
@label_widget: 
 
110
 
 
111
 
 
112
<!-- ##### FUNCTION gtk_frame_set_label_align ##### -->
 
113
<para>
 
114
</para>
 
115
 
 
116
@frame: 
 
117
@xalign: 
 
118
@yalign: 
 
119
 
 
120
 
 
121
<!-- ##### FUNCTION gtk_frame_set_shadow_type ##### -->
 
122
<para>
 
123
</para>
 
124
 
 
125
@frame: 
 
126
@type: 
 
127
 
 
128
 
 
129
<!-- ##### FUNCTION gtk_frame_get_label ##### -->
 
130
<para>
 
131
 
 
132
</para>
 
133
 
 
134
@frame: 
 
135
@Returns: 
 
136
 
 
137
 
 
138
<!-- ##### FUNCTION gtk_frame_get_label_align ##### -->
 
139
<para>
 
140
 
 
141
</para>
 
142
 
 
143
@frame: 
 
144
@xalign: 
 
145
@yalign: 
 
146
 
 
147
 
 
148
<!-- ##### FUNCTION gtk_frame_get_label_widget ##### -->
 
149
<para>
 
150
 
 
151
</para>
 
152
 
 
153
@frame: 
 
154
@Returns: 
 
155
 
 
156
 
 
157
<!-- ##### FUNCTION gtk_frame_get_shadow_type ##### -->
 
158
<para>
 
159
 
 
160
</para>
 
161
 
 
162
@frame: 
 
163
@Returns: 
 
164
 
 
165