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

📄 gtkseparatortoolitem.html

📁 最新gtk中文资料集
💻 HTML
📖 第 1 页 / 共 2 页
字号:
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><span class="type">FALSE</span></a>, a<a class="link" href="GtkSeparatorToolItem.html" title="GtkSeparatorToolItem"><span class="type">GtkSeparatorToolItem</span></a> will act as a "spring" that forces other itemsto the ends of the toolbar.</p><p>  Use <a class="link" href="GtkSeparatorToolItem.html#gtk-separator-tool-item-new"><code class="function">gtk_separator_tool_item_new()</code></a> to create a new <a class="link" href="GtkSeparatorToolItem.html" title="GtkSeparatorToolItem"><span class="type">GtkSeparatorToolItem</span></a>.</p></div><div class="refsect1" lang="en"><a name="id3942855"></a><h2>Details</h2><div class="refsect2" lang="en"><a name="id3942866"></a><h3><a name="GtkSeparatorToolItem-struct"></a>GtkSeparatorToolItem</h3><a class="indexterm" name="id3942879"></a><pre class="programlisting">typedef struct _GtkSeparatorToolItem GtkSeparatorToolItem;</pre><p>The <a class="link" href="GtkSeparatorToolItem.html" title="GtkSeparatorToolItem"><span class="type">GtkSeparatorToolItem</span></a> struct contains only private data andshould only be accessed through the functions described below.</p></div><hr><div class="refsect2" lang="en"><a name="id3942906"></a><h3><a name="gtk-separator-tool-item-new"></a>gtk_separator_tool_item_new ()</h3><a class="indexterm" name="id3942921"></a><pre class="programlisting"><a class="link" href="GtkToolItem.html" title="GtkToolItem">GtkToolItem</a>*        gtk_separator_tool_item_new         (void);</pre><p>Create a new <a class="link" href="GtkSeparatorToolItem.html" title="GtkSeparatorToolItem"><span class="type">GtkSeparatorToolItem</span></a></p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td><td> the new <a class="link" href="GtkSeparatorToolItem.html" title="GtkSeparatorToolItem"><span class="type">GtkSeparatorToolItem</span></a></td></tr></tbody></table></div><p class="since">Since  2.4</p></div><hr><div class="refsect2" lang="en"><a name="id3942983"></a><h3><a name="gtk-separator-tool-item-set-draw"></a>gtk_separator_tool_item_set_draw ()</h3><a class="indexterm" name="id3942999"></a><pre class="programlisting">void                gtk_separator_tool_item_set_draw    (<a class="link" href="GtkSeparatorToolItem.html" title="GtkSeparatorToolItem">GtkSeparatorToolItem</a> *item,                                                         <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a> draw);</pre><p>When <em class="parameter"><code>separator_tool_items</code></em> is drawn as a vertical line, or just blank.Setting this <ahref="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><span class="type">FALSE</span></a> along with <a class="link" href="GtkToolItem.html#gtk-tool-item-set-expand"><code class="function">gtk_tool_item_set_expand()</code></a> is usefulto create an item that forces following items to the end of the toolbar.</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>item</code></em>&#160;:</span></p></td><td> a <a class="link" href="GtkSeparatorToolItem.html" title="GtkSeparatorToolItem"><span class="type">GtkSeparatorToolItem</span></a></td></tr><tr><td><p><span class="term"><em class="parameter"><code>draw</code></em>&#160;:</span></p></td><td> whether <em class="parameter"><code>separator_tool_item</code></em> is drawn as a vertical line</td></tr></tbody></table></div><p class="since">Since  2.4</p></div><hr><div class="refsect2" lang="en"><a name="id3943121"></a><h3><a name="gtk-separator-tool-item-get-draw"></a>gtk_separator_tool_item_get_draw ()</h3><a class="indexterm" name="id3943137"></a><pre class="programlisting"><ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>            gtk_separator_tool_item_get_draw    (<a class="link" href="GtkSeparatorToolItem.html" title="GtkSeparatorToolItem">GtkSeparatorToolItem</a> *item);</pre><p>Returns whether <em class="parameter"><code>separator_tool_item</code></em> is drawn as aline, or just blank. See <a class="link" href="GtkSeparatorToolItem.html#gtk-separator-tool-item-set-draw"><code class="function">gtk_separator_tool_item_set_draw()</code></a>.</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>item</code></em>&#160;:</span></p></td><td> a <a class="link" href="GtkSeparatorToolItem.html" title="GtkSeparatorToolItem"><span class="type">GtkSeparatorToolItem</span></a> </td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td><td> <ahref="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if <em class="parameter"><code>separator_tool_item</code></em> is drawn as a line, or just blank.</td></tr></tbody></table></div><p class="since">Since  2.4</p></div></div><div class="refsect1" lang="en"><a name="id3943246"></a><h2>Property Details</h2><div class="refsect2" lang="en"><a name="id3943257"></a><h3><a name="GtkSeparatorToolItem--draw"></a>The <code class="literal">"draw"</code> property</h3><a class="indexterm" name="id3943273"></a><pre class="programlisting">  "draw"                     <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>              : Read / Write</pre><p>Whether the separator is drawn, or just blank.</p><p>Default value: TRUE</p></div></div><div class="refsect1" lang="en"><a name="id3943302"></a><h2>See Also</h2><p>  </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><a class="link" href="GtkToolbar.html" title="GtkToolbar"><span class="type">GtkToolbar</span></a></span></p></td><td><p>The toolbar widget</p></td></tr><tr><td><p><span class="term"><a class="link" href="GtkRadioToolButton.html" title="GtkRadioToolButton"><span class="type">GtkRadioToolButton</span></a></span></p></td><td><p>A toolbar item containing a radio	  button</p></td></tr></tbody></table></div><p></p></div><div class="refsect1" lang="en"><a name="id3943349"></a><div class="refsect2" lang="en"><a name="id3943350"></a></div><hr><div class="refsect2" lang="en"><a name="id3943351"></a></div></div></div></body></html>

⌨️ 快捷键说明

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