<?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="GtkWindowHandle">
<refmeta>
<refentrytitle role="top_of_page" id="GtkWindowHandle.top_of_page">GtkWindowHandle</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTK4 Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GtkWindowHandle</refname>
<refpurpose>A titlebar area widget</refpurpose>
</refnamediv>

<refsect1 id="GtkWindowHandle.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-window-handle-new">gtk_window_handle_new</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-window-handle-get-child">gtk_window_handle_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-window-handle-set-child">gtk_window_handle_set_child</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkWindowHandle.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="GtkWindowHandle--child">child</link></entry><entry role="property_flags">Read / Write</entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkWindowHandle.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="GtkWindowHandle-struct">GtkWindowHandle</link></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkWindowHandle.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> GtkWindowHandle
</screen>
</refsect1>
<refsect1 id="GtkWindowHandle.implemented-interfaces" role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
GtkWindowHandle implements
 <link linkend="AtkImplementorIface">AtkImplementorIface</link>,  <link linkend="GtkBuildable">GtkBuildable</link> and  <link linkend="GtkConstraintTarget">GtkConstraintTarget</link>.</para>

</refsect1>

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

<refsect1 id="GtkWindowHandle.description" role="desc">
<title role="desc.title">Description</title>
<para>GtkWindowHandle is a titlebar area widget. When added into a window, it can
be dragged to move the window, and handles right click double click and
middle click as expected of a titlebar.</para>
<refsect2><title>CSS nodes</title><para><link linkend="GtkWindowHandle"><type>GtkWindowHandle</type></link> has a single CSS node with the name windowhandle.</para>
</refsect2>

</refsect1>
<refsect1 id="GtkWindowHandle.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gtk-window-handle-new" role="function">
<title>gtk_window_handle_new&#160;()</title>
<indexterm zone="gtk-window-handle-new"><primary>gtk_window_handle_new</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
gtk_window_handle_new (<parameter><type>void</type></parameter>);</programlisting>
<para>Creates a new <link linkend="GtkWindowHandle"><type>GtkWindowHandle</type></link>.</para>
<refsect3 id="gtk-window-handle-new.returns" role="returns">
<title>Returns</title>
<para> a new <link linkend="GtkWindowHandle"><type>GtkWindowHandle</type></link>.</para>
</refsect3></refsect2>
<refsect2 id="gtk-window-handle-get-child" role="function">
<title>gtk_window_handle_get_child&#160;()</title>
<indexterm zone="gtk-window-handle-get-child"><primary>gtk_window_handle_get_child</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
gtk_window_handle_get_child (<parameter><link linkend="GtkWindowHandle"><type>GtkWindowHandle</type></link> *self</parameter>);</programlisting>
<para>Gets the child widget of <parameter>self</parameter>
.</para>
<refsect3 id="gtk-window-handle-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>self</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkWindowHandle"><type>GtkWindowHandle</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-window-handle-get-child.returns" role="returns">
<title>Returns</title>
<para>the child widget of <parameter>self</parameter>
. </para>
<para><emphasis role="annotation">[<acronym>nullable</acronym>][<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-window-handle-set-child" role="function">
<title>gtk_window_handle_set_child&#160;()</title>
<indexterm zone="gtk-window-handle-set-child"><primary>gtk_window_handle_set_child</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_window_handle_set_child (<parameter><link linkend="GtkWindowHandle"><type>GtkWindowHandle</type></link> *self</parameter>,
                             <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *child</parameter>);</programlisting>
<para>Sets the child widget of <parameter>self</parameter>
.</para>
<refsect3 id="gtk-window-handle-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>self</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkWindowHandle"><type>GtkWindowHandle</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>

</refsect1>
<refsect1 id="GtkWindowHandle.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="GtkWindowHandle-struct" role="struct">
<title>GtkWindowHandle</title>
<indexterm zone="GtkWindowHandle-struct"><primary>GtkWindowHandle</primary></indexterm>
<programlisting language="C">typedef struct _GtkWindowHandle GtkWindowHandle;</programlisting>
</refsect2>

</refsect1>
<refsect1 id="GtkWindowHandle.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="GtkWindowHandle--child" role="property"><title>The <literal>“child”</literal> property</title>
<indexterm zone="GtkWindowHandle--child"><primary>GtkWindowHandle:child</primary></indexterm>
<programlisting>  “child”                    <link linkend="GtkWidget"><type>GtkWidget</type></link>&#160;*</programlisting>
<para>The child widget.</para><para>Owner: GtkWindowHandle</para>
<para>Flags: Read / Write</para>
</refsect2>

</refsect1>
<refsect1 id="GtkWindowHandle.see-also">
<title>See Also</title>
<para><link linkend="GtkWindow"><type>GtkWindow</type></link>, <link linkend="GtkHeaderBar"><type>GtkHeaderBar</type></link></para>

</refsect1>

</refentry>
