|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /usr/share/gtk-doc/html/gtk/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GtkHandleBox</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="GTK+ Reference Manual">
<link rel="up" href="MiscObjects.html" title="Miscellaneous">
<link rel="prev" href="GtkEventBox.html" title="GtkEventBox">
<link rel="next" href="GtkIMContextSimple.html" title="GtkIMContextSimple">
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="gtk.html" title="Part I. GTK+ Overview">
<link rel="part" href="gtkbase.html" title="Part II. GTK+ Core Reference">
<link rel="part" href="gtkobjects.html" title="Part III. GTK+ Widgets and Objects">
<link rel="chapter" href="ch01.html" title="Object Hierarchy">
<link rel="chapter" href="ch02.html" title="Widget Gallery">
<link rel="chapter" href="WindowWidgets.html" title="Windows">
<link rel="chapter" href="DisplayWidgets.html" title="Display Widgets">
<link rel="chapter" href="ButtonWidgets.html" title="Buttons and Toggles">
<link rel="chapter" href="NumericEntry.html" title="Numeric/Text Data Entry">
<link rel="chapter" href="TextWidgetObjects.html" title="Multiline Text Editor">
<link rel="chapter" href="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets">
<link rel="chapter" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
<link rel="chapter" href="Actions.html" title="Action-based menus and toolbars">
<link rel="chapter" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
<link rel="chapter" href="LayoutContainers.html" title="Layout Containers">
<link rel="chapter" href="Ornaments.html" title="Ornaments">
<link rel="chapter" href="ScrollingWidgets.html" title="Scrolling">
<link rel="chapter" href="Printing.html" title="Printing">
<link rel="chapter" href="MiscObjects.html" title="Miscellaneous">
<link rel="chapter" href="AbstractObjects.html" title="Abstract Base Classes">
<link rel="chapter" href="PlugSocket.html" title="Cross-process Embedding">
<link rel="chapter" href="SpecialObjects.html" title="Special-purpose features">
<link rel="chapter" href="RecentDocuments.html" title="Recently Used Documents">
<link rel="chapter" href="DeprecatedObjects.html" title="Deprecated">
<link rel="part" href="migrating.html" title="Part IV. Migrating from Previous Versions of GTK+">
<link rel="chapter" href="gtk-migrating-checklist.html" title="Migration Checklist">
<link rel="chapter" href="gtk-migrating-GtkFileChooser.html" title="Migrating from GtkFileSelection to GtkFileChooser">
<link rel="chapter" href="gtk-migrating-GtkAction.html" title="Migrating from old menu and toolbar systems to GtkAction">
<link rel="chapter" href="gtk-migrating-GtkComboBox.html" title="Migrating from GtkOptionMenu and GtkCombo to GtkComboBox and
GtkComboBoxEntry">
<link rel="chapter" href="gtk-migrating-GtkIconView.html" title="Migrating from GnomeIconList to GtkIconView">
<link rel="chapter" href="gtk-migrating-GtkAboutDialog.html" title="Migrating from GnomeAbout to GtkAboutDialog">
<link rel="chapter" href="gtk-migrating-GtkColorButton.html" title="Migrating from GnomeColorPicker to GtkColorButton">
<link rel="chapter" href="gtk-migrating-GtkAssistant.html" title="Migrating from GnomeDruid to GtkAssistant">
<link rel="chapter" href="gtk-migrating-GtkRecentChooser.html" title="Migrating from EggRecent to GtkRecentChooser">
<link rel="chapter" href="gtk-migrating-GtkLinkButton.html" title="Migrating from GnomeHRef to GtkLinkButton">
<link rel="part" href="pt05.html" title="Part V. GTK+ Tools">
<link rel="glossary" href="glossary.html" title="Glossary">
<link rel="index" href="ix01.html" title="Index">
<link rel="index" href="ix02.html" title="Index of deprecated symbols">
<link rel="index" href="ix03.html" title="Index of new symbols in 2.2">
<link rel="index" href="ix04.html" title="Index of new symbols in 2.4">
<link rel="index" href="ix05.html" title="Index of new symbols in 2.6">
<link rel="index" href="ix06.html" title="Index of new symbols in 2.8">
<link rel="index" href="ix07.html" title="Index of new symbols in 2.10">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GtkEventBox.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="MiscObjects.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ Reference Manual</th>
<td><a accesskey="n" href="GtkIMContextSimple.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3606579" class="shortcut">Top</a>
 | 
<a href="#id3607071" class="shortcut">Description</a>
 | 
<a href="#id3606785" class="shortcut">Object Hierarchy</a>
 | 
<a href="#id3606847" class="shortcut">Implemented Interfaces</a>
 | 
<a href="#id3606870" class="shortcut">Properties</a>
 | 
<a href="#id3606973" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GtkHandleBox"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id3606579"></a><span class="refentrytitle">GtkHandleBox</span>
</h2>
<p>GtkHandleBox — a widget for detachable window portions</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
#include <gtk/gtk.h>
<a href="GtkHandleBox.html#GtkHandleBox-struct">GtkHandleBox</a>;
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* <a href="GtkHandleBox.html#gtk-handle-box-new">gtk_handle_box_new</a> (void);
void <a href="GtkHandleBox.html#gtk-handle-box-set-shadow-type">gtk_handle_box_set_shadow_type</a> (<a href="GtkHandleBox.html" title="GtkHandleBox">GtkHandleBox</a> *handle_box,
<a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> type);
void <a href="GtkHandleBox.html#gtk-handle-box-set-handle-position">gtk_handle_box_set_handle_position</a>
(<a href="GtkHandleBox.html" title="GtkHandleBox">GtkHandleBox</a> *handle_box,
<a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> position);
void <a href="GtkHandleBox.html#gtk-handle-box-set-snap-edge">gtk_handle_box_set_snap_edge</a> (<a href="GtkHandleBox.html" title="GtkHandleBox">GtkHandleBox</a> *handle_box,
<a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> edge);
<a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> <a href="GtkHandleBox.html#gtk-handle-box-get-handle-position">gtk_handle_box_get_handle_position</a>
(<a href="GtkHandleBox.html" title="GtkHandleBox">GtkHandleBox</a> *handle_box);
<a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> <a href="GtkHandleBox.html#gtk-handle-box-get-shadow-type">gtk_handle_box_get_shadow_type</a>
(<a href="GtkHandleBox.html" title="GtkHandleBox">GtkHandleBox</a> *handle_box);
<a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> <a href="GtkHandleBox.html#gtk-handle-box-get-snap-edge">gtk_handle_box_get_snap_edge</a>
(<a href="GtkHandleBox.html" title="GtkHandleBox">GtkHandleBox</a> *handle_box);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3606785"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a href="GtkObject.html" title="GtkObject">GtkObject</a>
+----<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
+----<a href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
+----<a href="GtkBin.html" title="GtkBin">GtkBin</a>
+----GtkHandleBox
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3606847"></a><h2>Implemented Interfaces</h2>
<p>
GtkHandleBox implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id3606870"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GtkHandleBox.html#GtkHandleBox--handle-position">handle-position</a>" <a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> : Read / Write
"<a href="GtkHandleBox.html#GtkHandleBox--shadow">shadow</a>" <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> : Read / Write
"<a href="GtkHandleBox.html#GtkHandleBox--shadow-type">shadow-type</a>" <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> : Read / Write
"<a href="GtkHandleBox.html#GtkHandleBox--snap-edge">snap-edge</a>" <a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> : Read / Write
"<a href="GtkHandleBox.html#GtkHandleBox--snap-edge-set">snap-edge-set</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3606973"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GtkHandleBox.html#GtkHandleBox-child-attached">child-attached</a>"
void user_function (<a href="GtkHandleBox.html" title="GtkHandleBox">GtkHandleBox</a> *handlebox,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run first
"<a href="GtkHandleBox.html#GtkHandleBox-child-detached">child-detached</a>"
void user_function (<a href="GtkHandleBox.html" title="GtkHandleBox">GtkHandleBox</a> *handlebox,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run first
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3607071"></a><h2>Description</h2>
<p>
The <a href="GtkHandleBox.html" title="GtkHandleBox"><span class="type">GtkHandleBox</span></a> widget allows a portion of a window to be "torn
off". It is a bin widget which displays its child and a handle that
the user can drag to tear off a separate window (the <em class="firstterm">float
window</em>) containing the child widget. A thin
<em class="firstterm">ghost</em> is drawn in the original location of the
handlebox. By dragging the separate window back to its original
location, it can be reattached.
</p>
<p>
When reattaching, the ghost and float window, must be aligned
along one of the edges, the <em class="firstterm">snap edge</em>.
This either can be specified by the application programmer
explicitely, or GTK+ will pick a reasonable default based
on the handle position.
</p>
<p>
To make detaching and reattaching the handlebox as minimally confusing
as possible to the user, it is important to set the snap edge so that
the snap edge does not move when the handlebox is deattached. For
instance, if the handlebox is packed at the bottom of a VBox, then
when the handlebox is detached, the bottom edge of the handlebox's
allocation will remain fixed as the height of the handlebox shrinks,
so the snap edge should be set to <a href="gtk-Standard-Enumerations.html#GTK-POS-BOTTOM:CAPS"><code class="literal">GTK_POS_BOTTOM</code></a>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id3607140"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id3607150"></a><h3>
<a name="GtkHandleBox-struct"></a>GtkHandleBox</h3>
<a class="indexterm" name="id3607163"></a><pre class="programlisting">typedef struct _GtkHandleBox GtkHandleBox;</pre>
<p>
The <a href="GtkHandleBox.html#GtkHandleBox-struct"><span class="type">GtkHandleBox</span></a> struct contains the following fields.
(These fields should be considered read-only. They should never be set by
an application.)
</p>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col>
<col>
</colgroup>
<tbody>
<tr>
<td>GtkShadowType shadow_type;</td>
<td>The shadow type for the entry. (See <a href="GtkHandleBox.html#gtk-handle-box-set-shadow-type"><code class="function">gtk_handle_box_set_shadow_type()</code></a>).</td>
</tr>
<tr>
<td>GtkPositionType handle_position;</td>
<td>The position of the handlebox's handle with respect
to the child. (See <a href="GtkHandleBox.html#gtk-handle-box-set-handle-position"><code class="function">gtk_handle_box_set_handle_position()</code></a>)</td>
</tr>
<tr>
<td>gint snap_edge;</td>
<td>A value of type <span class="type">GtkPosition</span> type indicating snap edge for the widget.
(See gtk_handle_box_set_snap_edge). The value of -1 indicates
that this value has not been set.</td>
</tr>
<tr>
<td>
<a
href="../glib/glib-Basic-Types.html#gboolean"
><span class="type">gboolean</span></a> child_detached;</td>
<td>A boolean value indicating whether the handlebox's
child is attached or detached.</td>
</tr>
</tbody>
</table></div>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3607303"></a><h3>
<a name="gtk-handle-box-new"></a>gtk_handle_box_new ()</h3>
<a class="indexterm" name="id3607316"></a><pre class="programlisting"><a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* gtk_handle_box_new (void);</pre>
<p>
Create a new handle box.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td>a new <a href="GtkHandleBox.html" title="GtkHandleBox"><span class="type">GtkHandleBox</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3607360"></a><h3>
<a name="gtk-handle-box-set-shadow-type"></a>gtk_handle_box_set_shadow_type ()</h3>
<a class="indexterm" name="id3607373"></a><pre class="programlisting">void gtk_handle_box_set_shadow_type (<a href="GtkHandleBox.html" title="GtkHandleBox">GtkHandleBox</a> *handle_box,
<a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> type);</pre>
<p>
Sets the type of shadow to be drawn around the border
of the handle box.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>handle_box</code></em> :</span></td>
<td>a <a href="GtkHandleBox.html" title="GtkHandleBox"><span class="type">GtkHandleBox</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>type</code></em> :</span></td>
<td>the shadow type.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3607450"></a><h3>
<a name="gtk-handle-box-set-handle-position"></a>gtk_handle_box_set_handle_position ()</h3>
<a class="indexterm" name="id3607465"></a><pre class="programlisting">void gtk_handle_box_set_handle_position
(<a href="GtkHandleBox.html" title="GtkHandleBox">GtkHandleBox</a> *handle_box,
<a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> position);</pre>
<p>
Sets the side of the handlebox where the handle is drawn.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>handle_box</code></em> :</span></td>
<td>a <a href="GtkHandleBox.html" title="GtkHandleBox"><span class="type">GtkHandleBox</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>position</code></em> :</span></td>
<td>the side of the handlebox where the handle should be drawn.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3607544"></a><h3>
<a name="gtk-handle-box-set-snap-edge"></a>gtk_handle_box_set_snap_edge ()</h3>
<a class="indexterm" name="id3607557"></a><pre class="programlisting">void gtk_handle_box_set_snap_edge (<a href="GtkHandleBox.html" title="GtkHandleBox">GtkHandleBox</a> *handle_box,
<a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> edge);</pre>
<p>
Sets the snap edge of a handlebox. The snap edge is
the edge of the detached child that must be aligned
with the corresponding edge of the "ghost" left
behind when the child was detached to reattach
the torn-off window. Usually, the snap edge should
be chosen so that it stays in the same place on
the screen when the handlebox is torn off.
</p>
<p>
If the snap edge is not set, then an appropriate value
will be guessed from the handle position. If the
handle position is <a href="gtk-Standard-Enumerations.html#GTK-POS-RIGHT:CAPS"><code class="literal">GTK_POS_RIGHT</code></a> or <a href="gtk-Standard-Enumerations.html#GTK-POS-LEFT:CAPS"><code class="literal">GTK_POS_LEFT</code></a>,
then the snap edge will be <a href="gtk-Standard-Enumerations.html#GTK-POS-TOP:CAPS"><code class="literal">GTK_POS_TOP</code></a>, otherwise
it will be <a href="gtk-Standard-Enumerations.html#GTK-POS-LEFT:CAPS"><code class="literal">GTK_POS_LEFT</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>handle_box</code></em> :</span></td>
<td>a <a href="GtkHandleBox.html" title="GtkHandleBox"><span class="type">GtkHandleBox</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>edge</code></em> :</span></td>
<td>the snap edge, or -1 to unset the value; in which
case GTK+ will try to guess an appropriate value
in the future.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3607693"></a><h3>
<a name="gtk-handle-box-get-handle-position"></a>gtk_handle_box_get_handle_position ()</h3>
<a class="indexterm" name="id3607707"></a><pre class="programlisting"><a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> gtk_handle_box_get_handle_position
(<a href="GtkHandleBox.html" title="GtkHandleBox">GtkHandleBox</a> *handle_box);</pre>
<p>
Gets the handle position of the handle box. See
<a href="GtkHandleBox.html#gtk-handle-box-set-handle-position"><code class="function">gtk_handle_box_set_handle_position()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>handle_box</code></em> :</span></td>
<td> a <a href="GtkHandleBox.html" title="GtkHandleBox"><span class="type">GtkHandleBox</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the current handle position.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3607789"></a><h3>
<a name="gtk-handle-box-get-shadow-type"></a>gtk_handle_box_get_shadow_type ()</h3>
<a class="indexterm" name="id3607802"></a><pre class="programlisting"><a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> gtk_handle_box_get_shadow_type
(<a href="GtkHandleBox.html" title="GtkHandleBox">GtkHandleBox</a> *handle_box);</pre>
<p>
Gets the type of shadow drawn around the handle box. See
<a href="GtkHandleBox.html#gtk-handle-box-set-shadow-type"><code class="function">gtk_handle_box_set_shadow_type()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>handle_box</code></em> :</span></td>
<td> a <a href="GtkHandleBox.html" title="GtkHandleBox"><span class="type">GtkHandleBox</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the type of shadow currently drawn around the handle box.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3607885"></a><h3>
<a name="gtk-handle-box-get-snap-edge"></a>gtk_handle_box_get_snap_edge ()</h3>
<a class="indexterm" name="id3607899"></a><pre class="programlisting"><a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> gtk_handle_box_get_snap_edge
(<a href="GtkHandleBox.html" title="GtkHandleBox">GtkHandleBox</a> *handle_box);</pre>
<p>
Gets the edge used for determining reattachment of the handle box. See
<a href="GtkHandleBox.html#gtk-handle-box-set-snap-edge"><code class="function">gtk_handle_box_set_snap_edge()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>handle_box</code></em> :</span></td>
<td> a <a href="GtkHandleBox.html" title="GtkHandleBox"><span class="type">GtkHandleBox</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the edge used for determining reattachment, or (GtkPositionType)-1 if this
is determined (as per default) from the handle position.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3607984"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id3607995"></a><h3>
<a name="GtkHandleBox--handle-position"></a>The "<code class="literal">handle-position</code>" property</h3>
<a class="indexterm" name="id3608012"></a><pre class="programlisting"> "handle-position" <a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> : Read / Write</pre>
<p>Position of the handle relative to the child widget.</p>
<p>Default value: GTK_POS_LEFT</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3608039"></a><h3>
<a name="GtkHandleBox--shadow"></a>The "<code class="literal">shadow</code>" property</h3>
<a class="indexterm" name="id3608056"></a><pre class="programlisting"> "shadow" <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> : Read / Write</pre>
<p>Deprecated property, use shadow_type instead.</p>
<p>Default value: GTK_SHADOW_ETCHED_OUT</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3608083"></a><h3>
<a name="GtkHandleBox--shadow-type"></a>The "<code class="literal">shadow-type</code>" property</h3>
<a class="indexterm" name="id3608100"></a><pre class="programlisting"> "shadow-type" <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> : Read / Write</pre>
<p>Appearance of the shadow that surrounds the container.</p>
<p>Default value: GTK_SHADOW_ETCHED_OUT</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3608127"></a><h3>
<a name="GtkHandleBox--snap-edge"></a>The "<code class="literal">snap-edge</code>" property</h3>
<a class="indexterm" name="id3608144"></a><pre class="programlisting"> "snap-edge" <a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> : Read / Write</pre>
<p>Side of the handlebox that's lined up with the docking point to dock the handlebox.</p>
<p>Default value: GTK_POS_TOP</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3608172"></a><h3>
<a name="GtkHandleBox--snap-edge-set"></a>The "<code class="literal">snap-edge-set</code>" property</h3>
<a class="indexterm" name="id3608188"></a><pre class="programlisting"> "snap-edge-set" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>Whether to use the value from the snap_edge property or a value derived from handle_position.</p>
<p>Default value: FALSE</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3608217"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id3608228"></a><h3>
<a name="GtkHandleBox-child-attached"></a>The "child-attached" signal</h3>
<a class="indexterm" name="id3608238"></a><pre class="programlisting">void user_function (<a href="GtkHandleBox.html" title="GtkHandleBox">GtkHandleBox</a> *handlebox,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run first</pre>
<p>
This signal is emitted when the contents of the
handlebox are reattached to the main window.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>handlebox</code></em> :</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em> :</span></td>
<td>the child widget of the handlebox.
(this argument provides no extra information
and is here only for backwards-compatibility)
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3608333"></a><h3>
<a name="GtkHandleBox-child-detached"></a>The "child-detached" signal</h3>
<a class="indexterm" name="id3608343"></a><pre class="programlisting">void user_function (<a href="GtkHandleBox.html" title="GtkHandleBox">GtkHandleBox</a> *handlebox,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run first</pre>
<p>
This signal is emitted when the contents of the
handlebox are detached from the main window.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>handlebox</code></em> :</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em> :</span></td>
<td>the child widget of the handlebox.
(this argument provides no extra information
and is here only for backwards-compatibility)
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</body>
</html>