<?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="GtkLayoutChild">
<refmeta>
<refentrytitle role="top_of_page" id="GtkLayoutChild.top_of_page">GtkLayoutChild</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTK4 Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GtkLayoutChild</refname>
<refpurpose>An object containing layout properties</refpurpose>
</refnamediv>

<refsect1 id="GtkLayoutChild.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="GtkLayoutManager"><returnvalue>GtkLayoutManager</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-layout-child-get-layout-manager">gtk_layout_child_get_layout_manager</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-layout-child-get-child-widget">gtk_layout_child_get_child_widget</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkLayoutChild.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="GtkLayoutChild--child-widget">child-widget</link></entry><entry role="property_flags">Read / Write / Construct&#160;Only</entry></row>
<row><entry role="property_type"><link linkend="GtkLayoutManager"><type>GtkLayoutManager</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkLayoutChild--layout-manager">layout-manager</link></entry><entry role="property_flags">Read / Write / Construct&#160;Only</entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkLayoutChild.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"></entry><entry role="function_name"><link linkend="GtkLayoutChild-struct">GtkLayoutChild</link></entry></row>
<row><entry role="datatype_keyword">struct</entry><entry role="function_name"><link linkend="GtkLayoutChildClass">GtkLayoutChildClass</link></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkLayoutChild.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> GtkLayoutChild
        <phrase role="lineart">&#9500;&#9472;&#9472;</phrase> <link linkend="GtkGridLayoutChild">GtkGridLayoutChild</link>
        <phrase role="lineart">&#9500;&#9472;&#9472;</phrase> <link linkend="GtkConstraintLayoutChild">GtkConstraintLayoutChild</link>
        <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GtkFixedLayoutChild">GtkFixedLayoutChild</link>
</screen>
</refsect1>

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

<refsect1 id="GtkLayoutChild.description" role="desc">
<title role="desc.title">Description</title>
<para><link linkend="GtkLayoutChild"><type>GtkLayoutChild</type></link> is the base class for objects that are meant to hold
layout properties. If a <link linkend="GtkLayoutManager"><type>GtkLayoutManager</type></link> has per-child properties,
like their packing type, or the horizontal and vertical span, or the
icon name, then the layout manager should use a <link linkend="GtkLayoutChild"><type>GtkLayoutChild</type></link>
implementation to store those properties.</para>
<para>A <link linkend="GtkLayoutChild"><type>GtkLayoutChild</type></link> instance is only ever valid while a widget is part
of a layout.</para>

</refsect1>
<refsect1 id="GtkLayoutChild.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gtk-layout-child-get-layout-manager" role="function">
<title>gtk_layout_child_get_layout_manager&#160;()</title>
<indexterm zone="gtk-layout-child-get-layout-manager"><primary>gtk_layout_child_get_layout_manager</primary></indexterm>
<programlisting language="C"><link linkend="GtkLayoutManager"><returnvalue>GtkLayoutManager</returnvalue></link>&#160;*
gtk_layout_child_get_layout_manager (<parameter><link linkend="GtkLayoutChild"><type>GtkLayoutChild</type></link> *layout_child</parameter>);</programlisting>
<para>Retrieves the <link linkend="GtkLayoutManager"><type>GtkLayoutManager</type></link> instance that created the
given <parameter>layout_child</parameter>
.</para>
<refsect3 id="gtk-layout-child-get-layout-manager.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>layout_child</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkLayoutChild"><type>GtkLayoutChild</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-layout-child-get-layout-manager.returns" role="returns">
<title>Returns</title>
<para>a <link linkend="GtkLayoutManager"><type>GtkLayoutManager</type></link>. </para>
<para><emphasis role="annotation">[<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-layout-child-get-child-widget" role="function">
<title>gtk_layout_child_get_child_widget&#160;()</title>
<indexterm zone="gtk-layout-child-get-child-widget"><primary>gtk_layout_child_get_child_widget</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
gtk_layout_child_get_child_widget (<parameter><link linkend="GtkLayoutChild"><type>GtkLayoutChild</type></link> *layout_child</parameter>);</programlisting>
<para>Retrieves the <link linkend="GtkWidget"><type>GtkWidget</type></link> associated to the given <parameter>layout_child</parameter>
.</para>
<refsect3 id="gtk-layout-child-get-child-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>layout_child</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkLayoutChild"><type>GtkLayoutChild</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-layout-child-get-child-widget.returns" role="returns">
<title>Returns</title>
<para>a <link linkend="GtkWidget"><type>GtkWidget</type></link>. </para>
<para><emphasis role="annotation">[<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>

</refsect1>
<refsect1 id="GtkLayoutChild.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="GtkLayoutChild-struct" role="struct">
<title>GtkLayoutChild</title>
<indexterm zone="GtkLayoutChild-struct"><primary>GtkLayoutChild</primary></indexterm>
<programlisting language="C">typedef struct _GtkLayoutChild GtkLayoutChild;</programlisting>
</refsect2>
<refsect2 id="GtkLayoutChildClass" role="struct">
<title>struct GtkLayoutChildClass</title>
<indexterm zone="GtkLayoutChildClass"><primary>GtkLayoutChildClass</primary></indexterm>
<programlisting language="C">struct GtkLayoutChildClass {
};
</programlisting>
</refsect2>

</refsect1>
<refsect1 id="GtkLayoutChild.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="GtkLayoutChild--child-widget" role="property"><title>The <literal>“child-widget”</literal> property</title>
<indexterm zone="GtkLayoutChild--child-widget"><primary>GtkLayoutChild:child-widget</primary></indexterm>
<programlisting>  “child-widget”             <link linkend="GtkWidget"><type>GtkWidget</type></link>&#160;*</programlisting>
<para>The widget that is associated to the <link linkend="GtkLayoutChild"><type>GtkLayoutChild</type></link> instance.</para>
<para>Owner: GtkLayoutChild</para>
<para>Flags: Read / Write / Construct&#160;Only</para>
</refsect2>
<refsect2 id="GtkLayoutChild--layout-manager" role="property"><title>The <literal>“layout-manager”</literal> property</title>
<indexterm zone="GtkLayoutChild--layout-manager"><primary>GtkLayoutChild:layout-manager</primary></indexterm>
<programlisting>  “layout-manager”           <link linkend="GtkLayoutManager"><type>GtkLayoutManager</type></link>&#160;*</programlisting>
<para>The layout manager that created the <link linkend="GtkLayoutChild"><type>GtkLayoutChild</type></link> instance.</para>
<para>Owner: GtkLayoutChild</para>
<para>Flags: Read / Write / Construct&#160;Only</para>
</refsect2>

</refsect1>

</refentry>
