<?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 % gtkdocentities SYSTEM "../xml/gtkdocentities.ent">
  %gtkdocentities;
]>
<refentry id="AtkWindow">
<refmeta>
<refentrytitle role="top_of_page" id="AtkWindow.top_of_page">AtkWindow</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>ATK Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>AtkWindow</refname>
<refpurpose>The ATK Interface provided by UI components that represent a top-level window.</refpurpose>
</refnamediv>

<refsect1 id="AtkWindow.signals" role="signal_proto">
<title role="signal_proto.title">Signals</title>
<informaltable frame="none">
<tgroup cols="3">
<colspec colname="signal_proto_type" colwidth="150px"/>
<colspec colname="signal_proto_name" colwidth="300px"/>
<colspec colname="signal_proto_flags" colwidth="200px"/>
<tbody>
<row><entry role="signal_type"><link linkend="void"><returnvalue>void</returnvalue></link></entry><entry role="signal_name"><link linkend="AtkWindow-activate">activate</link></entry><entry role="signal_flags"><link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></entry></row>
<row><entry role="signal_type"><link linkend="void"><returnvalue>void</returnvalue></link></entry><entry role="signal_name"><link linkend="AtkWindow-create">create</link></entry><entry role="signal_flags"><link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></entry></row>
<row><entry role="signal_type"><link linkend="void"><returnvalue>void</returnvalue></link></entry><entry role="signal_name"><link linkend="AtkWindow-deactivate">deactivate</link></entry><entry role="signal_flags"><link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></entry></row>
<row><entry role="signal_type"><link linkend="void"><returnvalue>void</returnvalue></link></entry><entry role="signal_name"><link linkend="AtkWindow-destroy">destroy</link></entry><entry role="signal_flags"><link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></entry></row>
<row><entry role="signal_type"><link linkend="void"><returnvalue>void</returnvalue></link></entry><entry role="signal_name"><link linkend="AtkWindow-maximize">maximize</link></entry><entry role="signal_flags"><link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></entry></row>
<row><entry role="signal_type"><link linkend="void"><returnvalue>void</returnvalue></link></entry><entry role="signal_name"><link linkend="AtkWindow-minimize">minimize</link></entry><entry role="signal_flags"><link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></entry></row>
<row><entry role="signal_type"><link linkend="void"><returnvalue>void</returnvalue></link></entry><entry role="signal_name"><link linkend="AtkWindow-move">move</link></entry><entry role="signal_flags"><link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></entry></row>
<row><entry role="signal_type"><link linkend="void"><returnvalue>void</returnvalue></link></entry><entry role="signal_name"><link linkend="AtkWindow-resize">resize</link></entry><entry role="signal_flags"><link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></entry></row>
<row><entry role="signal_type"><link linkend="void"><returnvalue>void</returnvalue></link></entry><entry role="signal_name"><link linkend="AtkWindow-restore">restore</link></entry><entry role="signal_flags"><link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></entry></row>

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

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="AtkWindow.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<screen>    <link linkend="GInterface">GInterface</link>
    <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> AtkWindow
</screen>
</refsect1>
<refsect1 id="AtkWindow.prerequisites" role="prerequisites">
<title role="prerequisites.title">Prerequisites</title>
<para>
AtkWindow requires
 <link linkend="AtkObject">AtkObject</link>.</para>

</refsect1>
<refsect1 id="AtkWindow.implementations" role="implementations">
<title role="implementations.title">Known Implementations</title>
<para>
AtkWindow is implemented by
 <link linkend="AtkNoOpObject">AtkNoOpObject</link>.</para>

</refsect1>


<refsect1 id="AtkWindow.description" role="desc">
<title role="desc.title">Description</title>
<para><link linkend="AtkWindow"><type>AtkWindow</type></link> should be implemented by the UI elements that represent
a top-level window, such as the main window of an application or
dialog.</para>

</refsect1>
<refsect1 id="AtkWindow.functions_details" role="details">
<title role="details.title">Functions</title>
<para />
</refsect1>
<refsect1 id="AtkWindow.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="AtkWindow-struct" role="struct">
<title>AtkWindow</title>
<indexterm zone="AtkWindow-struct"><primary>AtkWindow</primary></indexterm>
<programlisting language="C">typedef struct _AtkWindow AtkWindow;</programlisting>
</refsect2>

</refsect1>
<refsect1 id="AtkWindow.signal-details" role="signals">
<title role="signals.title">Signal Details</title>
<refsect2 id="AtkWindow-activate" role="signal"><title>The <literal>“activate”</literal> signal</title>
<indexterm zone="AtkWindow-activate" role="2.2"><primary>AtkWindow::activate</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
user_function (<link linkend="AtkWindow"><type>AtkWindow</type></link> *object,
               <link linkend="gpointer"><type>gpointer</type></link>   user_data)</programlisting>
<para>The signal <link linkend="AtkWindow-activate"><type>“activate”</type></link> is emitted when a window
becomes the active window of the application or session.</para>
<refsect3 id="AtkWindow-activate.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>object</para></entry>
<entry role="parameter_description"><para>the object which received the signal</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><simpara>user_data</simpara></entry>
<entry role="parameter_description"><simpara>user data set when the signal handler was connected.</simpara></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para>Flags: <link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></para>
<para role="since">Since: <link linkend="api-index-2.2">2.2</link></para></refsect2><refsect2 id="AtkWindow-create" role="signal"><title>The <literal>“create”</literal> signal</title>
<indexterm zone="AtkWindow-create" role="2.2"><primary>AtkWindow::create</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
user_function (<link linkend="AtkWindow"><type>AtkWindow</type></link> *object,
               <link linkend="gpointer"><type>gpointer</type></link>   user_data)</programlisting>
<para>The signal <link linkend="AtkWindow-create"><type>“create”</type></link> is emitted when a new window
is created.</para>
<refsect3 id="AtkWindow-create.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>object</para></entry>
<entry role="parameter_description"><para>the object which received the signal</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><simpara>user_data</simpara></entry>
<entry role="parameter_description"><simpara>user data set when the signal handler was connected.</simpara></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para>Flags: <link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></para>
<para role="since">Since: <link linkend="api-index-2.2">2.2</link></para></refsect2><refsect2 id="AtkWindow-deactivate" role="signal"><title>The <literal>“deactivate”</literal> signal</title>
<indexterm zone="AtkWindow-deactivate" role="2.2"><primary>AtkWindow::deactivate</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
user_function (<link linkend="AtkWindow"><type>AtkWindow</type></link> *object,
               <link linkend="gpointer"><type>gpointer</type></link>   user_data)</programlisting>
<para>The signal <link linkend="AtkWindow-deactivate"><type>“deactivate”</type></link> is emitted when a window is
no longer the active window of the application or session.</para>
<refsect3 id="AtkWindow-deactivate.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>object</para></entry>
<entry role="parameter_description"><para>the object which received the signal</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><simpara>user_data</simpara></entry>
<entry role="parameter_description"><simpara>user data set when the signal handler was connected.</simpara></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para>Flags: <link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></para>
<para role="since">Since: <link linkend="api-index-2.2">2.2</link></para></refsect2><refsect2 id="AtkWindow-destroy" role="signal"><title>The <literal>“destroy”</literal> signal</title>
<indexterm zone="AtkWindow-destroy" role="2.2"><primary>AtkWindow::destroy</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
user_function (<link linkend="AtkWindow"><type>AtkWindow</type></link> *object,
               <link linkend="gpointer"><type>gpointer</type></link>   user_data)</programlisting>
<para>The signal <link linkend="AtkWindow-destroy"><type>“destroy”</type></link> is emitted when a window is
destroyed.</para>
<refsect3 id="AtkWindow-destroy.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>object</para></entry>
<entry role="parameter_description"><para>the object which received the signal</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><simpara>user_data</simpara></entry>
<entry role="parameter_description"><simpara>user data set when the signal handler was connected.</simpara></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para>Flags: <link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></para>
<para role="since">Since: <link linkend="api-index-2.2">2.2</link></para></refsect2><refsect2 id="AtkWindow-maximize" role="signal"><title>The <literal>“maximize”</literal> signal</title>
<indexterm zone="AtkWindow-maximize" role="2.2"><primary>AtkWindow::maximize</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
user_function (<link linkend="AtkWindow"><type>AtkWindow</type></link> *object,
               <link linkend="gpointer"><type>gpointer</type></link>   user_data)</programlisting>
<para>The signal <link linkend="AtkWindow-maximize"><type>“maximize”</type></link> is emitted when a window
is maximized.</para>
<refsect3 id="AtkWindow-maximize.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>object</para></entry>
<entry role="parameter_description"><para>the object which received the signal</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><simpara>user_data</simpara></entry>
<entry role="parameter_description"><simpara>user data set when the signal handler was connected.</simpara></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para>Flags: <link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></para>
<para role="since">Since: <link linkend="api-index-2.2">2.2</link></para></refsect2><refsect2 id="AtkWindow-minimize" role="signal"><title>The <literal>“minimize”</literal> signal</title>
<indexterm zone="AtkWindow-minimize" role="2.2"><primary>AtkWindow::minimize</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
user_function (<link linkend="AtkWindow"><type>AtkWindow</type></link> *object,
               <link linkend="gpointer"><type>gpointer</type></link>   user_data)</programlisting>
<para>The signal <link linkend="AtkWindow-minimize"><type>“minimize”</type></link> is emitted when a window
is minimized.</para>
<refsect3 id="AtkWindow-minimize.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>object</para></entry>
<entry role="parameter_description"><para>the object which received the signal</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><simpara>user_data</simpara></entry>
<entry role="parameter_description"><simpara>user data set when the signal handler was connected.</simpara></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para>Flags: <link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></para>
<para role="since">Since: <link linkend="api-index-2.2">2.2</link></para></refsect2><refsect2 id="AtkWindow-move" role="signal"><title>The <literal>“move”</literal> signal</title>
<indexterm zone="AtkWindow-move" role="2.2"><primary>AtkWindow::move</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
user_function (<link linkend="AtkWindow"><type>AtkWindow</type></link> *object,
               <link linkend="gpointer"><type>gpointer</type></link>   user_data)</programlisting>
<para>The signal <link linkend="AtkWindow-move"><type>“move”</type></link> is emitted when a window
is moved.</para>
<refsect3 id="AtkWindow-move.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>object</para></entry>
<entry role="parameter_description"><para>the object which received the signal</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><simpara>user_data</simpara></entry>
<entry role="parameter_description"><simpara>user data set when the signal handler was connected.</simpara></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para>Flags: <link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></para>
<para role="since">Since: <link linkend="api-index-2.2">2.2</link></para></refsect2><refsect2 id="AtkWindow-resize" role="signal"><title>The <literal>“resize”</literal> signal</title>
<indexterm zone="AtkWindow-resize" role="2.2"><primary>AtkWindow::resize</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
user_function (<link linkend="AtkWindow"><type>AtkWindow</type></link> *object,
               <link linkend="gpointer"><type>gpointer</type></link>   user_data)</programlisting>
<para>The signal <link linkend="AtkWindow-resize"><type>“resize”</type></link> is emitted when a window
is resized.</para>
<refsect3 id="AtkWindow-resize.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>object</para></entry>
<entry role="parameter_description"><para>the object which received the signal</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><simpara>user_data</simpara></entry>
<entry role="parameter_description"><simpara>user data set when the signal handler was connected.</simpara></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para>Flags: <link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></para>
<para role="since">Since: <link linkend="api-index-2.2">2.2</link></para></refsect2><refsect2 id="AtkWindow-restore" role="signal"><title>The <literal>“restore”</literal> signal</title>
<indexterm zone="AtkWindow-restore" role="2.2"><primary>AtkWindow::restore</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
user_function (<link linkend="AtkWindow"><type>AtkWindow</type></link> *object,
               <link linkend="gpointer"><type>gpointer</type></link>   user_data)</programlisting>
<para>The signal <link linkend="AtkWindow-restore"><type>“restore”</type></link> is emitted when a window
is restored.</para>
<refsect3 id="AtkWindow-restore.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>object</para></entry>
<entry role="parameter_description"><para>the object which received the signal</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><simpara>user_data</simpara></entry>
<entry role="parameter_description"><simpara>user data set when the signal handler was connected.</simpara></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para>Flags: <link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></para>
<para role="since">Since: <link linkend="api-index-2.2">2.2</link></para></refsect2>
</refsect1>
<refsect1 id="AtkWindow.see-also">
<title>See Also</title>
<para><link linkend="AtkObject"><type>AtkObject</type></link></para>

</refsect1>

</refentry>
