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

📄 gtkcombobox.html

📁 最新gtk中文资料集
💻 HTML
📖 第 1 页 / 共 5 页
字号:
applications should have little use for 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>combo_box</code></em>&#160;:</span></p></td><td> a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a></td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td><td> the accessible object corresponding to the combo box's popup.</td></tr></tbody></table></div><p class="since">Since  2.6</p></div><hr><div class="refsect2" lang="en"><a name="id3871826"></a><h3><a name="gtk-combo-box-get-row-separator-func"></a>gtk_combo_box_get_row_separator_func ()</h3><a class="indexterm" name="id3871842"></a><pre class="programlisting"><a class="link" href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc">GtkTreeViewRowSeparatorFunc</a> gtk_combo_box_get_row_separator_func                                                        (<a class="link" href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);</pre><p>Returns the current row separator function.</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>combo_box</code></em>&#160;:</span></p></td><td> a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a></td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td><td> the current row separator function.</td></tr></tbody></table></div><p class="since">Since  2.6</p></div><hr><div class="refsect2" lang="en"><a name="id3871919"></a><h3><a name="gtk-combo-box-set-row-separator-func"></a>gtk_combo_box_set_row_separator_func ()</h3><a class="indexterm" name="id3871936"></a><pre class="programlisting">void                gtk_combo_box_set_row_separator_func                                                        (<a class="link" href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,                                                         <a class="link" href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc">GtkTreeViewRowSeparatorFunc</a> func,                                                         <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a> data,                                                         <a class="link" href="gtk-Types.html#GtkDestroyNotify">GtkDestroyNotify</a> destroy);</pre><p>Sets the row separator function, which is used to determinewhether a row should be drawn as a separator. If the row separatorfunction is <ahref="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, no separators are drawn. This is the default value.</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>combo_box</code></em>&#160;:</span></p></td><td> a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a></td></tr><tr><td><p><span class="term"><em class="parameter"><code>func</code></em>&#160;:</span></p></td><td> a <a class="link" href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc"><span class="type">GtkTreeViewRowSeparatorFunc</span></a></td></tr><tr><td><p><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></p></td><td> user data to pass to <em class="parameter"><code>func</code></em>, or <ahref="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a></td></tr><tr><td><p><span class="term"><em class="parameter"><code>destroy</code></em>&#160;:</span></p></td><td> destroy notifier for <em class="parameter"><code>data</code></em>, or <ahref="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a></td></tr></tbody></table></div><p class="since">Since  2.6</p></div><hr><div class="refsect2" lang="en"><a name="id3872121"></a><h3><a name="gtk-combo-box-set-add-tearoffs"></a>gtk_combo_box_set_add_tearoffs ()</h3><a class="indexterm" name="id3872137"></a><pre class="programlisting">void                gtk_combo_box_set_add_tearoffs      (<a class="link" href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,                                                         <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a> add_tearoffs);</pre><p>Sets whether the popup menu should have a tearoff menu item.</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>combo_box</code></em>&#160;:</span></p></td><td> a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> </td></tr><tr><td><p><span class="term"><em class="parameter"><code>add_tearoffs</code></em>&#160;:</span></p></td><td> <ahref="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to add tearoff menu items</td></tr></tbody></table></div><p class="since">Since  2.6</p></div><hr><div class="refsect2" lang="en"><a name="id3872235"></a><h3><a name="gtk-combo-box-get-add-tearoffs"></a>gtk_combo_box_get_add_tearoffs ()</h3><a class="indexterm" name="id3872248"></a><pre class="programlisting"><ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>            gtk_combo_box_get_add_tearoffs      (<a class="link" href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);</pre><p>Gets the current value of the :add-tearoffs property.</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>combo_box</code></em>&#160;:</span></p></td><td> a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a></td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td><td> the current value of the :add-tearoffs property.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3872318"></a><h3><a name="gtk-combo-box-set-title"></a>gtk_combo_box_set_title ()</h3><a class="indexterm" name="id3872333"></a><pre class="programlisting">void                gtk_combo_box_set_title             (<a class="link" href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,                                                         const <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar">gchar</a> *title);</pre><p>Sets the menu's title in tearoff mode.</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>combo_box</code></em>&#160;:</span></p></td><td> a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> </td></tr><tr><td><p><span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></p></td><td> a title for the menu in tearoff mode</td></tr></tbody></table></div><p class="since">Since  2.10</p></div><hr><div class="refsect2" lang="en"><a name="id3872421"></a><h3><a name="gtk-combo-box-get-title"></a>gtk_combo_box_get_title ()</h3><a class="indexterm" name="id3872436"></a><pre class="programlisting">const <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar">gchar</a>*        gtk_combo_box_get_title             (<a class="link" href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);</pre><p>Gets the current title of the menu in tearoff mode. See<a class="link" href="GtkComboBox.html#gtk-combo-box-set-add-tearoffs"><code class="function">gtk_combo_box_set_add_tearoffs()</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>combo_box</code></em>&#160;:</span></p></td><td> a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a></td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td><td> the menu's title in tearoff mode. This is an internal copy of thestring which must not be freed.</td></tr></tbody></table></div><p class="since">Since  2.10</p></div><hr><div class="refsect2" lang="en"><a name="id3872526"></a><h3><a name="gtk-combo-box-set-focus-on-click"></a>gtk_combo_box_set_focus_on_click ()</h3><a class="indexterm" name="id3872542"></a><pre class="programlisting">void                gtk_combo_box_set_focus_on_click    (<a class="link" href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo,                                                         <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a> focus_on_click);</pre><p>Sets whether the combo box will grab focus when it is clicked with the mouse. Making mouse clicks not grab focus is useful in places like toolbars where you don't want the keyboard focus removed from the main area of the application.</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>combo</code></em>&#160;:</span></p></td><td> a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a></td></tr><tr><

⌨️ 快捷键说明

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