1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 A bin with a decorative frame and optional label
7 <!-- ##### SECTION Long_Description ##### -->
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().
16 <refsect2 id="GtkFrame-BUILDER-UI">
17 <title>GtkFrame as GtkBuildable</title>
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 <child> element.
22 A normal content child can be specified without specifying
23 a <child> type attribute.
26 <title>A UI definition fragment with GtkFrame</title>
27 <programlisting><![CDATA[
28 <object class="GtkFrame">
30 <object class="GtkLabel" id="frame-label"/>
33 <object class="GtkEntry" id="frame-content"/>
40 <!-- ##### SECTION See_Also ##### -->
45 <!-- ##### SECTION Stability_Level ##### -->
48 <!-- ##### STRUCT GtkFrame ##### -->
54 <!-- ##### ARG GtkFrame:label ##### -->
59 <!-- ##### ARG GtkFrame:label-widget ##### -->
64 <!-- ##### ARG GtkFrame:label-xalign ##### -->
69 <!-- ##### ARG GtkFrame:label-yalign ##### -->
74 <!-- ##### ARG GtkFrame:shadow ##### -->
79 <!-- ##### ARG GtkFrame:shadow-type ##### -->
84 <!-- ##### FUNCTION gtk_frame_new ##### -->
92 <!-- ##### FUNCTION gtk_frame_set_label ##### -->
100 <!-- ##### FUNCTION gtk_frame_set_label_widget ##### -->
109 <!-- ##### FUNCTION gtk_frame_set_label_align ##### -->
118 <!-- ##### FUNCTION gtk_frame_set_shadow_type ##### -->
126 <!-- ##### FUNCTION gtk_frame_get_label ##### -->
135 <!-- ##### FUNCTION gtk_frame_get_label_align ##### -->
145 <!-- ##### FUNCTION gtk_frame_get_label_widget ##### -->
154 <!-- ##### FUNCTION gtk_frame_get_shadow_type ##### -->