|
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>GtkLayout</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="LayoutContainers.html" title="Layout Containers">
<link rel="prev" href="GtkVPaned.html" title="GtkVPaned">
<link rel="next" href="GtkNotebook.html" title="GtkNotebook">
<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="GtkVPaned.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="LayoutContainers.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="GtkNotebook.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="#id3463001" class="shortcut">Top</a>
 | 
<a href="#id3464229" class="shortcut">Description</a>
 | 
<a href="#id3463950" class="shortcut">Object Hierarchy</a>
 | 
<a href="#id3464004" class="shortcut">Implemented Interfaces</a>
 | 
<a href="#id3464027" class="shortcut">Properties</a>
 | 
<a href="#id3464112" class="shortcut">Child Properties</a>
 | 
<a href="#id3464163" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GtkLayout"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id3463001"></a><span class="refentrytitle">GtkLayout</span>
</h2>
<p>GtkLayout —
Infinite scrollable area containing child widgets and/or custom drawing</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="GtkLayout.html#GtkLayout-struct">GtkLayout</a>;
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* <a href="GtkLayout.html#gtk-layout-new">gtk_layout_new</a> (<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *hadjustment,
<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *vadjustment);
void <a href="GtkLayout.html#gtk-layout-put">gtk_layout_put</a> (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child_widget,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y);
void <a href="GtkLayout.html#gtk-layout-move">gtk_layout_move</a> (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child_widget,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y);
void <a href="GtkLayout.html#gtk-layout-set-size">gtk_layout_set_size</a> (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout,
<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> width,
<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> height);
void <a href="GtkLayout.html#gtk-layout-get-size">gtk_layout_get_size</a> (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout,
<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> *width,
<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> *height);
void <a href="GtkLayout.html#gtk-layout-freeze">gtk_layout_freeze</a> (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout);
void <a href="GtkLayout.html#gtk-layout-thaw">gtk_layout_thaw</a> (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout);
<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>* <a href="GtkLayout.html#gtk-layout-get-hadjustment">gtk_layout_get_hadjustment</a> (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout);
<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>* <a href="GtkLayout.html#gtk-layout-get-vadjustment">gtk_layout_get_vadjustment</a> (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout);
void <a href="GtkLayout.html#gtk-layout-set-hadjustment">gtk_layout_set_hadjustment</a> (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout,
<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);
void <a href="GtkLayout.html#gtk-layout-set-vadjustment">gtk_layout_set_vadjustment</a> (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout,
<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3463950"></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>
+----GtkLayout
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3464004"></a><h2>Implemented Interfaces</h2>
<p>
GtkLayout implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id3464027"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GtkLayout.html#GtkLayout--hadjustment">hadjustment</a>" <a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> : Read / Write
"<a href="GtkLayout.html#GtkLayout--height">height</a>" <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> : Read / Write
"<a href="GtkLayout.html#GtkLayout--vadjustment">vadjustment</a>" <a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> : Read / Write
"<a href="GtkLayout.html#GtkLayout--width">width</a>" <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3464112"></a><h2>Child Properties</h2>
<pre class="synopsis">
"<a href="GtkLayout.html#GtkLayout--x">x</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write
"<a href="GtkLayout.html#GtkLayout--y">y</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3464163"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GtkLayout.html#GtkLayout-set-scroll-adjustments">set-scroll-adjustments</a>"
void user_function (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout,
<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *arg1,
<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *arg2,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run last / Action
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3464229"></a><h2>Description</h2>
<p>
<a href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> is similar to <a href="GtkDrawingArea.html" title="GtkDrawingArea"><span class="type">GtkDrawingArea</span></a> in that it's a "blank slate"
and doesn't do anything but paint a blank background by default. It's
different in that it supports scrolling natively (you can add it to a
<a href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a>), and it can contain child widgets, since it's a
<a href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>. However if you're just going to draw, a <a href="GtkDrawingArea.html" title="GtkDrawingArea"><span class="type">GtkDrawingArea</span></a>
is a better choice since it has lower overhead.
</p>
<p>
When handling expose events on a <a href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a>, you must draw to
GTK_LAYOUT (layout)->bin_window, rather than to
GTK_WIDGET (layout)->window, as you would for a drawing
area.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id3464306"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id3464316"></a><h3>
<a name="GtkLayout-struct"></a>GtkLayout</h3>
<a class="indexterm" name="id3464329"></a><pre class="programlisting">typedef struct {
GdkWindow *bin_window;
} GtkLayout;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3464345"></a><h3>
<a name="gtk-layout-new"></a>gtk_layout_new ()</h3>
<a class="indexterm" name="id3464358"></a><pre class="programlisting"><a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* gtk_layout_new (<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *hadjustment,
<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *vadjustment);</pre>
<p>
Creates a new <a href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a>. Unless you have a specific adjustment
you'd like the layout to use for scrolling, pass <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> for
<em class="parameter"><code>hadjustment</code></em> and <em class="parameter"><code>vadjustment</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>hadjustment</code></em> :</span></td>
<td> horizontal scroll adjustment, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>vadjustment</code></em> :</span></td>
<td> vertical scroll adjustment, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> a new <a href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3464500"></a><h3>
<a name="gtk-layout-put"></a>gtk_layout_put ()</h3>
<a class="indexterm" name="id3464513"></a><pre class="programlisting">void gtk_layout_put (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child_widget,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y);</pre>
<p>
Adds <em class="parameter"><code>child_widget</code></em> to <em class="parameter"><code>layout</code></em>, at position (<em class="parameter"><code>x</code></em>,<em class="parameter"><code>y</code></em>).
<em class="parameter"><code>layout</code></em> becomes the new parent container of <em class="parameter"><code>child_widget</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>layout</code></em> :</span></td>
<td> a <a href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>child_widget</code></em> :</span></td>
<td> child widget
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em> :</span></td>
<td> X position of child widget
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em> :</span></td>
<td> Y position of child widget
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3464671"></a><h3>
<a name="gtk-layout-move"></a>gtk_layout_move ()</h3>
<a class="indexterm" name="id3464684"></a><pre class="programlisting">void gtk_layout_move (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child_widget,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y);</pre>
<p>
Moves a current child of <em class="parameter"><code>layout</code></em> to a new position.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>layout</code></em> :</span></td>
<td> a <a href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>child_widget</code></em> :</span></td>
<td> a current child of <em class="parameter"><code>layout</code></em>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em> :</span></td>
<td> X position to move to
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em> :</span></td>
<td> Y position to move to
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3464818"></a><h3>
<a name="gtk-layout-set-size"></a>gtk_layout_set_size ()</h3>
<a class="indexterm" name="id3464831"></a><pre class="programlisting">void gtk_layout_set_size (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout,
<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> width,
<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> height);</pre>
<p>
Sets the size of the scrollable area of the layout.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>layout</code></em> :</span></td>
<td> a <a href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em> :</span></td>
<td> width of entire scrollable area
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em> :</span></td>
<td> height of entire scrollable area
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3464932"></a><h3>
<a name="gtk-layout-get-size"></a>gtk_layout_get_size ()</h3>
<a class="indexterm" name="id3464946"></a><pre class="programlisting">void gtk_layout_get_size (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout,
<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> *width,
<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> *height);</pre>
<p>
Gets the size that has been set on the layout, and that determines
the total extents of the layout's scrollbar area. See
<a href="GtkLayout.html#gtk-layout-set-size"><code class="function">gtk_layout_set_size()</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>layout</code></em> :</span></td>
<td> a <a href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em> :</span></td>
<td> location to store the width set on <em class="parameter"><code>layout</code></em>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em> :</span></td>
<td> location to store the height set on <em class="parameter"><code>layout</code></em>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3465091"></a><h3>
<a name="gtk-layout-freeze"></a>gtk_layout_freeze ()</h3>
<a class="indexterm" name="id3465106"></a><pre class="programlisting">void gtk_layout_freeze (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_layout_freeze</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
This is a deprecated function, it doesn't do anything useful.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>layout</code></em> :</span></td>
<td> a <a href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3465177"></a><h3>
<a name="gtk-layout-thaw"></a>gtk_layout_thaw ()</h3>
<a class="indexterm" name="id3465192"></a><pre class="programlisting">void gtk_layout_thaw (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_layout_thaw</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
This is a deprecated function, it doesn't do anything useful.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>layout</code></em> :</span></td>
<td> a <a href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3465262"></a><h3>
<a name="gtk-layout-get-hadjustment"></a>gtk_layout_get_hadjustment ()</h3>
<a class="indexterm" name="id3465276"></a><pre class="programlisting"><a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>* gtk_layout_get_hadjustment (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout);</pre>
<p>
This function should only be called after the layout has been
placed in a <a href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> or otherwise configured for
scrolling. It returns the <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> used for communication
between the horizontal scrollbar and <em class="parameter"><code>layout</code></em>.
</p>
<p>
See <a href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a>, <a href="GtkScrollbar.html" title="GtkScrollbar"><span class="type">GtkScrollbar</span></a>, <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> for details.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>layout</code></em> :</span></td>
<td> a <a href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> horizontal scroll adjustment
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3465397"></a><h3>
<a name="gtk-layout-get-vadjustment"></a>gtk_layout_get_vadjustment ()</h3>
<a class="indexterm" name="id3465411"></a><pre class="programlisting"><a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>* gtk_layout_get_vadjustment (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout);</pre>
<p>
This function should only be called after the layout has been
placed in a <a href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> or otherwise configured for
scrolling. It returns the <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> used for communication
between the vertical scrollbar and <em class="parameter"><code>layout</code></em>.
</p>
<p>
See <a href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a>, <a href="GtkScrollbar.html" title="GtkScrollbar"><span class="type">GtkScrollbar</span></a>, <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> for details.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>layout</code></em> :</span></td>
<td> a <a href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> vertical scroll adjustment
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3465532"></a><h3>
<a name="gtk-layout-set-hadjustment"></a>gtk_layout_set_hadjustment ()</h3>
<a class="indexterm" name="id3465546"></a><pre class="programlisting">void gtk_layout_set_hadjustment (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout,
<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);</pre>
<p>
Sets the horizontal scroll adjustment for the layout.
</p>
<p>
See <a href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a>, <a href="GtkScrollbar.html" title="GtkScrollbar"><span class="type">GtkScrollbar</span></a>, <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> for details.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>layout</code></em> :</span></td>
<td> a <a href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>adjustment</code></em> :</span></td>
<td> new scroll adjustment
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3465654"></a><h3>
<a name="gtk-layout-set-vadjustment"></a>gtk_layout_set_vadjustment ()</h3>
<a class="indexterm" name="id3465668"></a><pre class="programlisting">void gtk_layout_set_vadjustment (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout,
<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);</pre>
<p>
Sets the vertical scroll adjustment for the layout.
</p>
<p>
See <a href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a>, <a href="GtkScrollbar.html" title="GtkScrollbar"><span class="type">GtkScrollbar</span></a>, <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> for details.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>layout</code></em> :</span></td>
<td> a <a href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>adjustment</code></em> :</span></td>
<td> new scroll adjustment
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3465777"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id3465788"></a><h3>
<a name="GtkLayout--hadjustment"></a>The "<code class="literal">hadjustment</code>" property</h3>
<a class="indexterm" name="id3465804"></a><pre class="programlisting"> "hadjustment" <a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> : Read / Write</pre>
<p>The GtkAdjustment for the horizontal position.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3465828"></a><h3>
<a name="GtkLayout--height"></a>The "<code class="literal">height</code>" property</h3>
<a class="indexterm" name="id3465844"></a><pre class="programlisting"> "height" <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> : Read / Write</pre>
<p>The height of the layout.</p>
<p>Allowed values: <= G_MAXINT</p>
<p>Default value: 100</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3465874"></a><h3>
<a name="GtkLayout--vadjustment"></a>The "<code class="literal">vadjustment</code>" property</h3>
<a class="indexterm" name="id3465890"></a><pre class="programlisting"> "vadjustment" <a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> : Read / Write</pre>
<p>The GtkAdjustment for the vertical position.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3465914"></a><h3>
<a name="GtkLayout--width"></a>The "<code class="literal">width</code>" property</h3>
<a class="indexterm" name="id3465930"></a><pre class="programlisting"> "width" <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> : Read / Write</pre>
<p>The width of the layout.</p>
<p>Allowed values: <= G_MAXINT</p>
<p>Default value: 100</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3465961"></a><h2>Child Property Details</h2>
<div class="refsect2" lang="en">
<a name="id3465972"></a><h3>
<a name="GtkLayout--x"></a>The "<code class="literal">x</code>" child property</h3>
<a class="indexterm" name="id3465988"></a><pre class="programlisting"> "x" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write</pre>
<p>X position of child widget.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3466015"></a><h3>
<a name="GtkLayout--y"></a>The "<code class="literal">y</code>" child property</h3>
<a class="indexterm" name="id3466031"></a><pre class="programlisting"> "y" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write</pre>
<p>Y position of child widget.</p>
<p>Default value: 0</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3466059"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id3466069"></a><h3>
<a name="GtkLayout-set-scroll-adjustments"></a>The "set-scroll-adjustments" signal</h3>
<a class="indexterm" name="id3466081"></a><pre class="programlisting">void user_function (<a href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout,
<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *arg1,
<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *arg2,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run last / Action</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>layout</code></em> :</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg1</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg2</code></em> :</span></td>
<td>
</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 class="refsect1" lang="en">
<a name="id3466194"></a><h2>See Also</h2>
<p>
<a href="GtkDrawingArea.html" title="GtkDrawingArea"><span class="type">GtkDrawingArea</span></a>, <a href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a>
</p>
</div>
</div>
</body>
</html>