<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
<!ENTITY version SYSTEM "version.xml">
<!ENTITY pi "&#960;">
<!ENTITY solidus "&#8260;">
]>
<refentry id="GtkFrame">
<refmeta>
<refentrytitle role="top_of_page" id="GtkFrame.top_of_page">GtkFrame</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTK4 Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GtkFrame</refname>
<refpurpose>A widget with a decorative frame and optional label</refpurpose>
</refnamediv>

<refsect1 id="GtkFrame.functions" role="functions_proto">
<title role="functions_proto.title">Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_proto_type" colwidth="150px"/>
<colspec colname="functions_proto_name"/>
<tbody>
<row><entry role="function_type"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-frame-new">gtk_frame_new</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-frame-set-child">gtk_frame_set_child</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-frame-get-child">gtk_frame_get_child</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-frame-set-label">gtk_frame_set_label</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type">const <link linkend="gchar"><returnvalue>gchar</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-frame-get-label">gtk_frame_get_label</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-frame-set-label-widget">gtk_frame_set_label_widget</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-frame-get-label-widget">gtk_frame_get_label_widget</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-frame-set-label-align">gtk_frame_set_label_align</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gfloat"><returnvalue>gfloat</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-frame-get-label-align">gtk_frame_get_label_align</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkFrame.properties" role="properties">
<title role="properties.title">Properties</title>
<informaltable frame="none">
<tgroup cols="3">
<colspec colname="properties_type" colwidth="150px"/>
<colspec colname="properties_name" colwidth="300px"/>
<colspec colname="properties_flags" colwidth="200px"/>
<tbody>
<row><entry role="property_type"><link linkend="GtkWidget"><type>GtkWidget</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkFrame--child">child</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gchar"><type>gchar</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkFrame--label">label</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="GtkWidget"><type>GtkWidget</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkFrame--label-widget">label-widget</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gfloat"><type>gfloat</type></link></entry><entry role="property_name"><link linkend="GtkFrame--label-xalign">label-xalign</link></entry><entry role="property_flags">Read / Write</entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkFrame.other" role="other_proto">
<title role="other_proto.title">Types and Values</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="other_proto_type" colwidth="150px"/>
<colspec colname="other_proto_name"/>
<tbody>
<row><entry role="datatype_keyword">struct</entry><entry role="function_name"><link linkend="GtkFrame-struct">GtkFrame</link></entry></row>
<row><entry role="datatype_keyword">struct</entry><entry role="function_name"><link linkend="GtkFrameClass">GtkFrameClass</link></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkFrame.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<screen>    <link linkend="GObject">GObject</link>
    <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GInitiallyUnowned">GInitiallyUnowned</link>
        <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GtkWidget">GtkWidget</link>
            <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> GtkFrame
</screen>
</refsect1>
<refsect1 id="GtkFrame.implemented-interfaces" role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
GtkFrame implements
 <link linkend="AtkImplementorIface">AtkImplementorIface</link>,  <link linkend="GtkBuildable">GtkBuildable</link> and  <link linkend="GtkConstraintTarget">GtkConstraintTarget</link>.</para>

</refsect1>

<refsect1 id="GtkFrame.includes"><title>Includes</title><synopsis>#include &lt;gtk/gtk.h&gt;
</synopsis></refsect1>

<refsect1 id="GtkFrame.description" role="desc">
<title role="desc.title">Description</title>
<para>The frame widget is a widget that surrounds its child with a decorative
frame and an optional label. If present, the label is drawn inside
the top edge of the frame. The horizontal position of the label can
be controlled with <link linkend="gtk-frame-set-label-align"><function>gtk_frame_set_label_align()</function></link>.</para>
<refsect2><title>GtkFrame as GtkBuildable</title><para>The GtkFrame implementation of the GtkBuildable interface supports
placing a child in the label position by specifying “label” as the
“type” attribute of a &lt;child> element. A normal content child can
be specified without specifying a &lt;child> type attribute.</para>
<para>An example of a UI definition fragment with GtkFrame:</para>
<informalexample><programlisting role="example"><![CDATA[
<object class="GtkFrame">
  <child type="label">
    <object class="GtkLabel" id="frame_label"/>
  </child>
  <child>
    <object class="GtkEntry" id="frame_content"/>
  </child>
</object>
]]></programlisting></informalexample>
<para></para>
</refsect2>
<refsect2><title>CSS nodes</title><informalexample><programlisting role="example"><![CDATA[
frame
├── <label widget>
╰── <child>
]]></programlisting></informalexample>
<para></para>
<para>GtkFrame has a main CSS node with name “frame”, which is used to draw the
visible border. You can set the appearance of the border using CSS properties
like “border-style” on this node.</para>
</refsect2>

</refsect1>
<refsect1 id="GtkFrame.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gtk-frame-new" role="function">
<title>gtk_frame_new&#160;()</title>
<indexterm zone="gtk-frame-new"><primary>gtk_frame_new</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
gtk_frame_new (<parameter>const <link linkend="gchar"><type>gchar</type></link> *label</parameter>);</programlisting>
<para>Creates a new <link linkend="GtkFrame"><type>GtkFrame</type></link>, with optional label <parameter>label</parameter>
.
If <parameter>label</parameter>
 is <link linkend="NULL:CAPS"><literal>NULL</literal></link>, the label is omitted.</para>
<refsect3 id="gtk-frame-new.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>label</para></entry>
<entry role="parameter_description"><para>the text to use as the label of the frame. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>allow-none</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-frame-new.returns" role="returns">
<title>Returns</title>
<para> a new <link linkend="GtkFrame"><type>GtkFrame</type></link> widget</para>
</refsect3></refsect2>
<refsect2 id="gtk-frame-set-child" role="function">
<title>gtk_frame_set_child&#160;()</title>
<indexterm zone="gtk-frame-set-child"><primary>gtk_frame_set_child</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_frame_set_child (<parameter><link linkend="GtkFrame"><type>GtkFrame</type></link> *frame</parameter>,
                     <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *child</parameter>);</programlisting>
<para>Sets the child widget of <parameter>frame</parameter>
.</para>
<refsect3 id="gtk-frame-set-child.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>frame</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkFrame"><type>GtkFrame</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>child</para></entry>
<entry role="parameter_description"><para>the child widget. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>allow-none</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-frame-get-child" role="function">
<title>gtk_frame_get_child&#160;()</title>
<indexterm zone="gtk-frame-get-child"><primary>gtk_frame_get_child</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
gtk_frame_get_child (<parameter><link linkend="GtkFrame"><type>GtkFrame</type></link> *frame</parameter>);</programlisting>
<para>Gets the child widget of <parameter>frame</parameter>
.</para>
<refsect3 id="gtk-frame-get-child.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>frame</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkFrame"><type>GtkFrame</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-frame-get-child.returns" role="returns">
<title>Returns</title>
<para>the child widget of <parameter>frame</parameter>
. </para>
<para><emphasis role="annotation">[<acronym>nullable</acronym>][<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-frame-set-label" role="function">
<title>gtk_frame_set_label&#160;()</title>
<indexterm zone="gtk-frame-set-label"><primary>gtk_frame_set_label</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_frame_set_label (<parameter><link linkend="GtkFrame"><type>GtkFrame</type></link> *frame</parameter>,
                     <parameter>const <link linkend="gchar"><type>gchar</type></link> *label</parameter>);</programlisting>
<para>Removes the current <link linkend="GtkFrame--label-widget"><type>“label-widget”</type></link>. If <parameter>label</parameter>
 is not <link linkend="NULL:CAPS"><literal>NULL</literal></link>, creates a
new <link linkend="GtkLabel"><type>GtkLabel</type></link> with that text and adds it as the <link linkend="GtkFrame--label-widget"><type>“label-widget”</type></link>.</para>
<refsect3 id="gtk-frame-set-label.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>frame</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkFrame"><type>GtkFrame</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>label</para></entry>
<entry role="parameter_description"><para>the text to use as the label of the frame. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>allow-none</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-frame-get-label" role="function">
<title>gtk_frame_get_label&#160;()</title>
<indexterm zone="gtk-frame-get-label"><primary>gtk_frame_get_label</primary></indexterm>
<programlisting language="C">const <link linkend="gchar"><returnvalue>gchar</returnvalue></link>&#160;*
gtk_frame_get_label (<parameter><link linkend="GtkFrame"><type>GtkFrame</type></link> *frame</parameter>);</programlisting>
<para>If the frame’s label widget is a <link linkend="GtkLabel"><type>GtkLabel</type></link>, returns the
text in the label widget. (The frame will have a <link linkend="GtkLabel"><type>GtkLabel</type></link>
for the label widget if a non-<link linkend="NULL:CAPS"><literal>NULL</literal></link> argument was passed
to <link linkend="gtk-frame-new"><function>gtk_frame_new()</function></link>.)</para>
<refsect3 id="gtk-frame-get-label.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>frame</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkFrame"><type>GtkFrame</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-frame-get-label.returns" role="returns">
<title>Returns</title>
<para>the text in the label, or <link linkend="NULL:CAPS"><literal>NULL</literal></link> if there
was no label widget or the lable widget was not
a <link linkend="GtkLabel"><type>GtkLabel</type></link>. This string is owned by GTK+ and
must not be modified or freed. </para>
<para><emphasis role="annotation">[<acronym>nullable</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-frame-set-label-widget" role="function">
<title>gtk_frame_set_label_widget&#160;()</title>
<indexterm zone="gtk-frame-set-label-widget"><primary>gtk_frame_set_label_widget</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_frame_set_label_widget (<parameter><link linkend="GtkFrame"><type>GtkFrame</type></link> *frame</parameter>,
                            <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *label_widget</parameter>);</programlisting>
<para>Sets the <link linkend="GtkFrame--label-widget"><type>“label-widget”</type></link> for the frame. This is the widget that
will appear embedded in the top edge of the frame as a title.</para>
<refsect3 id="gtk-frame-set-label-widget.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>frame</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkFrame"><type>GtkFrame</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>label_widget</para></entry>
<entry role="parameter_description"><para>the new label widget. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>nullable</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-frame-get-label-widget" role="function">
<title>gtk_frame_get_label_widget&#160;()</title>
<indexterm zone="gtk-frame-get-label-widget"><primary>gtk_frame_get_label_widget</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
gtk_frame_get_label_widget (<parameter><link linkend="GtkFrame"><type>GtkFrame</type></link> *frame</parameter>);</programlisting>
<para>Retrieves the label widget for the frame. See
<link linkend="gtk-frame-set-label-widget"><function>gtk_frame_set_label_widget()</function></link>.</para>
<refsect3 id="gtk-frame-get-label-widget.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>frame</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkFrame"><type>GtkFrame</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-frame-get-label-widget.returns" role="returns">
<title>Returns</title>
<para>the label widget, or <link linkend="NULL:CAPS"><literal>NULL</literal></link> if
there is none. </para>
<para><emphasis role="annotation">[<acronym>nullable</acronym>][<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-frame-set-label-align" role="function">
<title>gtk_frame_set_label_align&#160;()</title>
<indexterm zone="gtk-frame-set-label-align"><primary>gtk_frame_set_label_align</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_frame_set_label_align (<parameter><link linkend="GtkFrame"><type>GtkFrame</type></link> *frame</parameter>,
                           <parameter><link linkend="gfloat"><type>gfloat</type></link> xalign</parameter>);</programlisting>
<para>Sets the X alignment of the frame widget’s label. The
default value for a newly created frame is 0.0.</para>
<refsect3 id="gtk-frame-set-label-align.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>frame</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkFrame"><type>GtkFrame</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>xalign</para></entry>
<entry role="parameter_description"><para>The position of the label along the top edge
of the widget. A value of 0.0 represents left alignment;
1.0 represents right alignment.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-frame-get-label-align" role="function">
<title>gtk_frame_get_label_align&#160;()</title>
<indexterm zone="gtk-frame-get-label-align"><primary>gtk_frame_get_label_align</primary></indexterm>
<programlisting language="C"><link linkend="gfloat"><returnvalue>gfloat</returnvalue></link>
gtk_frame_get_label_align (<parameter><link linkend="GtkFrame"><type>GtkFrame</type></link> *frame</parameter>);</programlisting>
<para>Retrieves the X alignment of the frame’s label. See
<link linkend="gtk-frame-set-label-align"><function>gtk_frame_set_label_align()</function></link>.</para>
<refsect3 id="gtk-frame-get-label-align.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>frame</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkFrame"><type>GtkFrame</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>

</refsect1>
<refsect1 id="GtkFrame.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="GtkFrame-struct" role="struct">
<title>struct GtkFrame</title>
<indexterm zone="GtkFrame-struct"><primary>GtkFrame</primary></indexterm>
<programlisting language="C">struct GtkFrame;</programlisting>
</refsect2>
<refsect2 id="GtkFrameClass" role="struct">
<title>struct GtkFrameClass</title>
<indexterm zone="GtkFrameClass"><primary>GtkFrameClass</primary></indexterm>
<programlisting language="C">struct GtkFrameClass {
  GtkWidgetClass parent_class;

  void (*compute_child_allocation) (GtkFrame *frame,
                                    GtkAllocation *allocation);
};
</programlisting>
<refsect3 id="GtkFrameClass.members" role="struct_members">
<title>Members</title>
<informaltable role="struct_members_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="struct_members_name" colwidth="300px"/>
<colspec colname="struct_members_description"/>
<colspec colname="struct_members_annotations" colwidth="200px"/>
<tbody>
<row role="member"><entry role="struct_member_name"><para><structfield id="GtkFrameClass.compute-child-allocation">compute_child_allocation</structfield>&#160;()</para></entry>
<entry role="struct_member_description"></entry>
<entry role="struct_member_annotations"></entry>
</row>
</tbody></tgroup></informaltable>
</refsect3>
</refsect2>

</refsect1>
<refsect1 id="GtkFrame.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="GtkFrame--child" role="property"><title>The <literal>“child”</literal> property</title>
<indexterm zone="GtkFrame--child"><primary>GtkFrame:child</primary></indexterm>
<programlisting>  “child”                    <link linkend="GtkWidget"><type>GtkWidget</type></link>&#160;*</programlisting>
<para>The child widget.</para><para>Owner: GtkFrame</para>
<para>Flags: Read / Write</para>
</refsect2>
<refsect2 id="GtkFrame--label" role="property"><title>The <literal>“label”</literal> property</title>
<indexterm zone="GtkFrame--label"><primary>GtkFrame:label</primary></indexterm>
<programlisting>  “label”                    <link linkend="gchar"><type>gchar</type></link>&#160;*</programlisting>
<para>Text of the frame’s label.</para><para>Owner: GtkFrame</para>
<para>Flags: Read / Write</para>
<para>Default value: NULL</para>
</refsect2>
<refsect2 id="GtkFrame--label-widget" role="property"><title>The <literal>“label-widget”</literal> property</title>
<indexterm zone="GtkFrame--label-widget"><primary>GtkFrame:label-widget</primary></indexterm>
<programlisting>  “label-widget”             <link linkend="GtkWidget"><type>GtkWidget</type></link>&#160;*</programlisting>
<para>A widget to display in place of the usual frame label.</para><para>Owner: GtkFrame</para>
<para>Flags: Read / Write</para>
</refsect2>
<refsect2 id="GtkFrame--label-xalign" role="property"><title>The <literal>“label-xalign”</literal> property</title>
<indexterm zone="GtkFrame--label-xalign"><primary>GtkFrame:label-xalign</primary></indexterm>
<programlisting>  “label-xalign”             <link linkend="gfloat"><type>gfloat</type></link></programlisting>
<para>The horizontal alignment of the label.</para><para>Owner: GtkFrame</para>
<para>Flags: Read / Write</para>
<para>Allowed values: [0,1]</para>
<para>Default value: 0</para>
</refsect2>

</refsect1>

</refentry>
