📄 gtkpaned.html
字号:
<a name="id4289140"></a><h3><a name="GtkPaned--position"></a>The <code class="literal">"position"</code> property</h3><a class="indexterm" name="id4289156"></a><pre class="programlisting"> "position" <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint">gint</a> : Read / Write</pre><p>Position of paned separator in pixels (0 means all the way to the left/top).</p><p>Allowed values: >= 0</p><p>Default value: 0</p></div><hr><div class="refsect2" lang="en"><a name="id4289187"></a><h3><a name="GtkPaned--position-set"></a>The <code class="literal">"position-set"</code> property</h3><a class="indexterm" name="id4289203"></a><pre class="programlisting"> "position-set" <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a> : Read / Write</pre><p>TRUE if the Position property should be used.</p><p>Default value: FALSE</p></div></div><div class="refsect1" lang="en"><a name="id4289232"></a><h2>Child Property Details</h2><div class="refsect2" lang="en"><a name="id4289243"></a><h3><a name="GtkPaned--resize"></a>The <code class="literal">"resize"</code> child property</h3><a class="indexterm" name="id4289258"></a><pre class="programlisting"> "resize" <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a> : Read / Write</pre><p>The "resize" child property determines whether the child expands and shrinks along with the paned widget.</p><p></p><p>Default value: TRUE</p><p>Since 2.4 </p></div><hr><div class="refsect2" lang="en"><a name="id4289296"></a><h3><a name="GtkPaned--shrink"></a>The <code class="literal">"shrink"</code> child property</h3><a class="indexterm" name="id4289312"></a><pre class="programlisting"> "shrink" <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a> : Read / Write</pre><p>The "shrink" child property determines whether the child can be made smaller than its requisition.</p><p></p><p>Default value: TRUE</p><p>Since 2.4 </p></div></div><div class="refsect1" lang="en"><a name="id4289351"></a><h2>Style Property Details</h2><div class="refsect2" lang="en"><a name="id4289362"></a><h3><a name="GtkPaned--handle-size"></a>The <code class="literal">"handle-size"</code> style property</h3><a class="indexterm" name="id4289379"></a><pre class="programlisting"> "handle-size" <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint">gint</a> : Read</pre><p>Width of handle.</p><p>Allowed values: >= 0</p><p>Default value: 5</p></div></div><div class="refsect1" lang="en"><a name="id4289410"></a><h2>Signal Details</h2><div class="refsect2" lang="en"><a name="id4289420"></a><h3><a name="GtkPaned-accept-position"></a>The <code class="literal">"accept-position"</code> signal</h3><a class="indexterm" name="id4289437"></a><pre class="programlisting"><ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a> user_function (<a class="link" href="GtkPaned.html" title="GtkPaned">GtkPaned</a> *widget, <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a> user_data) : Run Last / Action</pre><p>The ::accept-position signal is a keybinding signalwhich gets emitted to accept the current position of the handle when moving it using key bindings.</p><p>The default binding for this signal is Return or Space.</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>widget</code></em> :</span></p></td><td> the object that received the signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td><td>user data set when the signal handler was connected.</td></tr></tbody></table></div><p>Since 2.0</p></div><hr><div class="refsect2" lang="en"><a name="id4289526"></a><h3><a name="GtkPaned-cancel-position"></a>The <code class="literal">"cancel-position"</code> signal</h3><a class="indexterm" name="id4289543"></a><pre class="programlisting"><ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a> user_function (<a class="link" href="GtkPaned.html" title="GtkPaned">GtkPaned</a> *widget, <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a> user_data) : Run Last / Action</pre><p>The ::cancel-position signal is a keybinding signalwhich gets emitted to cancel moving the position of the handle using key bindings. The position of the handle will be reset to the value prior to moving it.</p><p>The default binding for this signal is Escape.</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>widget</code></em> :</span></p></td><td> the object that received the signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td><td>user data set when the signal handler was connected.</td></tr></tbody></table></div><p>Since 2.0</p></div><hr><div class="refsect2" lang="en"><a name="id4289634"></a><h3><a name="GtkPaned-cycle-child-focus"></a>The <code class="literal">"cycle-child-focus"</code> signal</h3><a class="indexterm" name="id4289651"></a><pre class="programlisting"><ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a> user_function (<a class="link" href="GtkPaned.html" title="GtkPaned">GtkPaned</a> *widget, <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a> reversed, <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a> user_data) : Run Last / Action</pre><p>The ::cycle-child-focus signal is a keybinding signalwhich gets emitted to cycle the focus between the children of the paned.</p><p>The default binding is f6.</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>widget</code></em> :</span></p></td><td> the object that received the signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>reversed</code></em> :</span></p></td><td> whether cycling backward or forward</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td><td>user data set when the signal handler was connected.</td></tr></tbody></table></div><p>Since 2.0</p></div><hr><div class="refsect2" lang="en"><a name="id4289762"></a><h3><a name="GtkPaned-cycle-handle-focus"></a>The <code class="literal">"cycle-handle-focus"</code> signal</h3><a class="indexterm" name="id4289778"></a><pre class="programlisting"><ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a> user_function (<a class="link" href="GtkPaned.html" title="GtkPaned">GtkPaned</a> *widget, <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a> reversed, <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a> user_data) : Run Last / Action</pre><p>The ::cycle-handle-focus signal is a keybinding signalwhich gets emitted to cycle whether the paned should grab focus to allowthe user to change position of the handle by using key bindings.</p><p>The default binding for this signal is f8.</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>widget</code></em> :</span></p></td><td> the object that received the signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>reversed</code></em> :</span></p></td><td> whether cycling backward or forward</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td><td>user data set when the signal handler was connected.</td></tr></tbody></table></div><p>Since 2.0</p></div><hr><div class="refsect2" lang="en"><a name="id4289892"></a><h3><a name="GtkPaned-move-handle"></a>The <code class="literal">"move-handle"</code> signal</h3><a class="indexterm" name="id4289908"></a><pre class="programlisting"><ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a> user_function (<a class="link" href="GtkPaned.html" title="GtkPaned">GtkPaned</a> *widget, <a class="link" href="gtk-Standard-Enumerations.html#GtkScrollType">GtkScrollType</a> scroll_type, <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a> user_data) : Run Last / Action</pre><p>The ::move-handle signal is a keybinding signalwhich gets emitted to move the handle when the user is using key bindings to move it.</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>widget</code></em> :</span></p></td><td> the object that received the signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>scroll_type</code></em> :</span></p></td><td> a <a class="link" href="gtk-Standard-Enumerations.html#GtkScrollType"><span class="type">GtkScrollType</span></a></td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td><td>user data set when the signal handler was connected.</td></tr></tbody></table></div><p>Since 2.0</p></div><hr><div class="refsect2" lang="en"><a name="id4290023"></a><h3><a name="GtkPaned-toggle-handle-focus"></a>The <code class="literal">"toggle-handle-focus"</code> signal</h3><a class="indexterm" name="id4290040"></a><pre class="programlisting"><ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a> user_function (<a class="link" href="GtkPaned.html" title="GtkPaned">GtkPaned</a> *widget, <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a> user_data) : Run Last / Action</pre><p>The ::toggle-handle-focus is a keybinding signalwhich gets emitted to accept the current position of the handle and then move focus to the next widget in the focus chain.</p><p>The default binding is Tab.</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>widget</code></em> :</span></p></td><td> the object that received the signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td><td>user data set when the signal handler was connected.</td></tr></tbody></table></div><p>Since 2.0</p></div></div><div class="refsect1" lang="en"><a name="id4290132"></a><div class="refsect2" lang="en"><a name="id4290133"></a></div><hr><div class="refsect2" lang="en"><a name="id4290134"></a></div></div></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -