New upstream version 3.22.28
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<link rel="up" href="LayoutContainers.html" title="Layout Containers">
|
||||
<link rel="prev" href="GtkPaned.html" title="GtkPaned">
|
||||
<link rel="next" href="GtkNotebook.html" title="GtkNotebook">
|
||||
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -118,7 +118,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../gdk4/gdk4-Windows.html#GdkWindow-struct"><span class="returnvalue">GdkWindow</span></a> *
|
||||
<span class="returnvalue">GdkWindow</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkLayout.html#gtk-layout-get-bin-window" title="gtk_layout_get_bin_window ()">gtk_layout_get_bin_window</a> <span class="c_punctuation">()</span>
|
||||
@ -137,12 +137,12 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
|
||||
<td class="property_type"><span class="type">guint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkLayout.html#GtkLayout--height" title="The “height” property">height</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
|
||||
<td class="property_type"><span class="type">guint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkLayout.html#GtkLayout--width" title="The “width” property">width</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -159,12 +159,12 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkLayout.html#GtkLayout--c-x" title="The “x” child property">x</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkLayout.html#GtkLayout--c-y" title="The “y” child property">y</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -186,8 +186,8 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkLayout.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<span class="lineart">╰──</span> <a href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GInitiallyUnowned
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
|
||||
<span class="lineart">╰──</span> GtkLayout
|
||||
@ -213,7 +213,7 @@ different in that it supports scrolling natively due to implementing
|
||||
<p>If you just want to draw, a <a class="link" href="GtkDrawingArea.html" title="GtkDrawingArea"><span class="type">GtkDrawingArea</span></a> is a better choice since it has
|
||||
lower overhead. If you just need to position child widgets at specific
|
||||
points, then <a class="link" href="GtkFixed.html" title="GtkFixed"><span class="type">GtkFixed</span></a> provides that functionality on its own.</p>
|
||||
<p>When handling expose events on a <a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a>, you must draw to the <a href="../gdk4/gdk4-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a>
|
||||
<p>When handling expose events on a <a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a>, you must draw to the <span class="type">GdkWindow</span>
|
||||
returned by <a class="link" href="GtkLayout.html#gtk-layout-get-bin-window" title="gtk_layout_get_bin_window ()"><code class="function">gtk_layout_get_bin_window()</code></a>, rather than to the one returned by
|
||||
<a class="link" href="GtkWidget.html#gtk-widget-get-window" title="gtk_widget_get_window ()"><code class="function">gtk_widget_get_window()</code></a> as you would for a <a class="link" href="GtkDrawingArea.html" title="GtkDrawingArea"><span class="type">GtkDrawingArea</span></a>.</p>
|
||||
</div>
|
||||
@ -225,7 +225,7 @@ returned by <a class="link" href="GtkLayout.html#gtk-layout-get-bin-window" titl
|
||||
gtk_layout_new (<em class="parameter"><code><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> *hadjustment</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> *vadjustment</code></em>);</pre>
|
||||
<p>Creates a new <a class="link" 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
|
||||
you’d like the layout to use for scrolling, pass <code class="literal">NULL</code> for
|
||||
<em class="parameter"><code>hadjustment</code></em>
|
||||
and <em class="parameter"><code>vadjustment</code></em>
|
||||
.</p>
|
||||
@ -240,12 +240,12 @@ you’d like the layout to use for scrolling, pass <a href="../glib/glib-Standar
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>hadjustment</p></td>
|
||||
<td class="parameter_description"><p> horizontal scroll adjustment, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>horizontal scroll adjustment, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>vadjustment</p></td>
|
||||
<td class="parameter_description"><p> vertical scroll adjustment, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>vertical scroll adjustment, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -262,8 +262,8 @@ you’d like the layout to use for scrolling, pass <a href="../glib/glib-Standar
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_layout_put (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child_widget</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> y</code></em>);</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>
|
||||
@ -311,8 +311,8 @@ gtk_layout_put (<em class="parameter"><code><a class="link" href="GtkLayout.html
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_layout_move (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child_widget</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
|
||||
<p>Moves a current child of <em class="parameter"><code>layout</code></em>
|
||||
to a new position.</p>
|
||||
<div class="refsect3">
|
||||
@ -354,8 +354,8 @@ gtk_layout_move (<em class="parameter"><code><a class="link" href="GtkLayout.htm
|
||||
<a name="gtk-layout-set-size"></a><h3>gtk_layout_set_size ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_layout_set_size (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> height</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint</span> width</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> height</code></em>);</pre>
|
||||
<p>Sets the size of the scrollable area of the layout.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-layout-set-size.parameters"></a><h4>Parameters</h4>
|
||||
@ -390,8 +390,8 @@ gtk_layout_set_size (<em class="parameter"><code><a class="link" href="GtkLayout
|
||||
<a name="gtk-layout-get-size"></a><h3>gtk_layout_get_size ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_layout_get_size (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *width</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *height</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint</span> *width</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> *height</code></em>);</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 class="link" href="GtkLayout.html#gtk-layout-set-size" title="gtk_layout_set_size ()"><code class="function">gtk_layout_set_size()</code></a>.</p>
|
||||
@ -411,16 +411,16 @@ the total extents of the layout’s scrollbar area. See
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>width</p></td>
|
||||
<td class="parameter_description"><p> location to store the width set on
|
||||
<td class="parameter_description"><p>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>. </p></td>
|
||||
, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>height</p></td>
|
||||
<td class="parameter_description"><p> location to store the height set on
|
||||
<td class="parameter_description"><p>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>. </p></td>
|
||||
, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -459,7 +459,7 @@ between the horizontal scrollbar and <em class="parameter"><code>layout</code></
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-layout-get-hadjustment.returns"></a><h4>Returns</h4>
|
||||
<p> horizontal scroll adjustment. </p>
|
||||
<p>horizontal scroll adjustment. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
@ -495,7 +495,7 @@ between the vertical scrollbar and <em class="parameter"><code>layout</code></em
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-layout-get-vadjustment.returns"></a><h4>Returns</h4>
|
||||
<p> vertical scroll adjustment. </p>
|
||||
<p>vertical scroll adjustment. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
@ -527,7 +527,7 @@ gtk_layout_set_hadjustment (<em class="parameter"><code><a class="link" href="Gt
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>adjustment</p></td>
|
||||
<td class="parameter_description"><p> new scroll adjustment. </p></td>
|
||||
<td class="parameter_description"><p>new scroll adjustment. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -562,7 +562,7 @@ gtk_layout_set_vadjustment (<em class="parameter"><code><a class="link" href="Gt
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>adjustment</p></td>
|
||||
<td class="parameter_description"><p> new scroll adjustment. </p></td>
|
||||
<td class="parameter_description"><p>new scroll adjustment. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -572,7 +572,7 @@ gtk_layout_set_vadjustment (<em class="parameter"><code><a class="link" href="Gt
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-layout-get-bin-window"></a><h3>gtk_layout_get_bin_window ()</h3>
|
||||
<pre class="programlisting"><a href="../gdk4/gdk4-Windows.html#GdkWindow-struct"><span class="returnvalue">GdkWindow</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GdkWindow</span> *
|
||||
gtk_layout_get_bin_window (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>);</pre>
|
||||
<p>Retrieve the bin window of the layout used for drawing operations.</p>
|
||||
<div class="refsect3">
|
||||
@ -592,7 +592,7 @@ gtk_layout_get_bin_window (<em class="parameter"><code><a class="link" href="Gtk
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-layout-get-bin-window.returns"></a><h4>Returns</h4>
|
||||
<p> a <a href="../gdk4/gdk4-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a>. </p>
|
||||
<p>a <span class="type">GdkWindow</span>. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.14</p>
|
||||
@ -609,7 +609,7 @@ gtk_layout_get_bin_window (<em class="parameter"><code><a class="link" href="Gtk
|
||||
<a name="GtkLayout.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkLayout--height"></a><h3>The <code class="literal">“height”</code> property</h3>
|
||||
<pre class="programlisting"> “height” <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
|
||||
<pre class="programlisting"> “height” <span class="type">guint</span></pre>
|
||||
<p>The height of the layout.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: <= G_MAXINT</p>
|
||||
@ -618,7 +618,7 @@ gtk_layout_get_bin_window (<em class="parameter"><code><a class="link" href="Gtk
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkLayout--width"></a><h3>The <code class="literal">“width”</code> property</h3>
|
||||
<pre class="programlisting"> “width” <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
|
||||
<pre class="programlisting"> “width” <span class="type">guint</span></pre>
|
||||
<p>The width of the layout.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: <= G_MAXINT</p>
|
||||
@ -629,7 +629,7 @@ gtk_layout_get_bin_window (<em class="parameter"><code><a class="link" href="Gtk
|
||||
<a name="GtkLayout.child-property-details"></a><h2>Child Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkLayout--c-x"></a><h3>The <code class="literal">“x”</code> child property</h3>
|
||||
<pre class="programlisting"> “x” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “x” <span class="type">gint</span></pre>
|
||||
<p>X position of child widget.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: 0</p>
|
||||
@ -637,7 +637,7 @@ gtk_layout_get_bin_window (<em class="parameter"><code><a class="link" href="Gtk
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkLayout--c-y"></a><h3>The <code class="literal">“y”</code> child property</h3>
|
||||
<pre class="programlisting"> “y” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “y” <span class="type">gint</span></pre>
|
||||
<p>Y position of child widget.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: 0</p>
|
||||
@ -649,6 +649,6 @@ gtk_layout_get_bin_window (<em class="parameter"><code><a class="link" href="Gtk
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25.1</div>
|
||||
<hr>Generated by GTK-Doc V1.27</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user