⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gtklayout.html

📁 最新gtk中文资料集
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<hr><div class="refsect2" lang="en"><a name="id4073256"></a><h3><a name="gtk-layout-get-hadjustment"></a>gtk_layout_get_hadjustment ()</h3><a class="indexterm" name="id4073270"></a><pre class="programlisting"><a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>*      gtk_layout_get_hadjustment          (<a class="link" href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout);</pre><p>This function should only be called after the layout has beenplaced in a <a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> or otherwise configured forscrolling. It returns the <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> used for communicationbetween the horizontal scrollbar and <em class="parameter"><code>layout</code></em>.</p><p>See <a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a>, <a class="link" href="GtkScrollbar.html" title="GtkScrollbar"><span class="type">GtkScrollbar</span></a>, <a class="link" 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><p><span class="term"><em class="parameter"><code>layout</code></em>&#160;:</span></p></td><td> a <a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a></td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td><td> horizontal scroll adjustment</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id4073392"></a><h3><a name="gtk-layout-get-vadjustment"></a>gtk_layout_get_vadjustment ()</h3><a class="indexterm" name="id4073406"></a><pre class="programlisting"><a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>*      gtk_layout_get_vadjustment          (<a class="link" href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout);</pre><p>This function should only be called after the layout has beenplaced in a <a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> or otherwise configured forscrolling. It returns the <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> used for communicationbetween the vertical scrollbar and <em class="parameter"><code>layout</code></em>.</p><p>See <a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a>, <a class="link" href="GtkScrollbar.html" title="GtkScrollbar"><span class="type">GtkScrollbar</span></a>, <a class="link" 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><p><span class="term"><em class="parameter"><code>layout</code></em>&#160;:</span></p></td><td> a <a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a></td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td><td> vertical scroll adjustment</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id4073527"></a><h3><a name="gtk-layout-set-hadjustment"></a>gtk_layout_set_hadjustment ()</h3><a class="indexterm" name="id4073541"></a><pre class="programlisting">void                gtk_layout_set_hadjustment          (<a class="link" href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout,                                                         <a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);</pre><p>Sets the horizontal scroll adjustment for the layout.</p><p>See <a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a>, <a class="link" href="GtkScrollbar.html" title="GtkScrollbar"><span class="type">GtkScrollbar</span></a>, <a class="link" 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><p><span class="term"><em class="parameter"><code>layout</code></em>&#160;:</span></p></td><td> a <a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a></td></tr><tr><td><p><span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></p></td><td> new scroll adjustment</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id4073649"></a><h3><a name="gtk-layout-set-vadjustment"></a>gtk_layout_set_vadjustment ()</h3><a class="indexterm" name="id4073663"></a><pre class="programlisting">void                gtk_layout_set_vadjustment          (<a class="link" href="GtkLayout.html" title="GtkLayout">GtkLayout</a> *layout,                                                         <a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);</pre><p>Sets the vertical scroll adjustment for the layout.</p><p>See <a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a>, <a class="link" href="GtkScrollbar.html" title="GtkScrollbar"><span class="type">GtkScrollbar</span></a>, <a class="link" 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><p><span class="term"><em class="parameter"><code>layout</code></em>&#160;:</span></p></td><td> a <a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a></td></tr><tr><td><p><span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></p></td><td> new scroll adjustment</td></tr></tbody></table></div></div></div><div class="refsect1" lang="en"><a name="id4073772"></a><h2>Property Details</h2><div class="refsect2" lang="en"><a name="id4073783"></a><h3><a name="GtkLayout--hadjustment"></a>The <code class="literal">"hadjustment"</code> property</h3><a class="indexterm" name="id4073800"></a><pre class="programlisting">  "hadjustment"              <a class="link" 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="id4073823"></a><h3><a name="GtkLayout--height"></a>The <code class="literal">"height"</code> property</h3><a class="indexterm" name="id4073839"></a><pre class="programlisting">  "height"                   <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint">guint</a>                 : Read / Write</pre><p>The height of the layout.</p><p>Allowed values: &lt;= G_MAXINT</p><p>Default value: 100</p></div><hr><div class="refsect2" lang="en"><a name="id4073870"></a><h3><a name="GtkLayout--vadjustment"></a>The <code class="literal">"vadjustment"</code> property</h3><a class="indexterm" name="id4073887"></a><pre class="programlisting">  "vadjustment"              <a class="link" 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="id4073911"></a><h3><a name="GtkLayout--width"></a>The <code class="literal">"width"</code> property</h3><a class="indexterm" name="id4073927"></a><pre class="programlisting">  "width"                    <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint">guint</a>                 : Read / Write</pre><p>The width of the layout.</p><p>Allowed values: &lt;= G_MAXINT</p><p>Default value: 100</p></div></div><div class="refsect1" lang="en"><a name="id4073959"></a><h2>Child Property Details</h2><div class="refsect2" lang="en"><a name="id4073970"></a><h3><a name="GtkLayout--x"></a>The <code class="literal">"x"</code> child property</h3><a class="indexterm" name="id4073986"></a><pre class="programlisting">  "x"                        <ahref="/usr/share/gtk-doc/html/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="id4074013"></a><h3><a name="GtkLayout--y"></a>The <code class="literal">"y"</code> child property</h3><a class="indexterm" name="id4074028"></a><pre class="programlisting">  "y"                        <ahref="/usr/share/gtk-doc/html/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="id4074057"></a><h2>Signal Details</h2><div class="refsect2" lang="en"><a name="id4074067"></a><h3><a name="GtkLayout-set-scroll-adjustments"></a>The <code class="literal">"set-scroll-adjustments"</code> signal</h3><a class="indexterm" name="id4074084"></a><pre class="programlisting">void                user_function                      (<a class="link" href="GtkLayout.html" title="GtkLayout">GtkLayout</a>     *layout,                                                        <a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *arg1,                                                        <a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *arg2,                                                        <ahref="/usr/share/gtk-doc/html/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><p><span class="term"><em class="parameter"><code>layout</code></em>&#160;:</span></p></td><td>the object which received the signal.</td></tr><tr><td><p><span class="term"><em class="parameter"><code>arg1</code></em>&#160;:</span></p></td><td></td></tr><tr><td><p><span class="term"><em class="parameter"><code>arg2</code></em>&#160;:</span></p></td><td></td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></p></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="id4074198"></a><h2>See Also</h2><p><a class="link" href="GtkDrawingArea.html" title="GtkDrawingArea"><span class="type">GtkDrawingArea</span></a>, <a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a></p></div><div class="refsect1" lang="en"><a name="id4074225"></a><div class="refsect2" lang="en"><a name="id4074226"></a></div><hr><div class="refsect2" lang="en"><a name="id4074227"></a></div></div></div></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -