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

📄 gtkcombo.html

📁 最新gtk中文资料集
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</tr><tr><td><p><span class="term"><em class="parameter"><code>val</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> if the arrow keys can be used to step through the items in      the list.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id4529049"></a><h3><a name="gtk-combo-set-use-arrows-always"></a>gtk_combo_set_use_arrows_always ()</h3><a class="indexterm" name="id4529065"></a><pre class="programlisting">void                gtk_combo_set_use_arrows_always     (<a class="link" href="GtkCombo.html" title="GtkCombo">GtkCombo</a> *combo,                                                         <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a> val);</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">gtk_combo_set_use_arrows_always</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> instead.</p></div><p>Obsolete function, does nothing.</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="GtkCombo.html" title="GtkCombo"><span class="type">GtkCombo</span></a>.</td></tr><tr><td><p><span class="term"><em class="parameter"><code>val</code></em>&#160;:</span></p></td><td>unused</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id4529163"></a><h3><a name="gtk-combo-set-case-sensitive"></a>gtk_combo_set_case_sensitive ()</h3><a class="indexterm" name="id4529179"></a><pre class="programlisting">void                gtk_combo_set_case_sensitive        (<a class="link" href="GtkCombo.html" title="GtkCombo">GtkCombo</a> *combo,                                                         <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a> val);</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">gtk_combo_set_case_sensitive</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> instead.</p></div><p>Specifies whether the text entered into the <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> field and the text inthe list items is case sensitive.</p><p>This may be useful, for example, when you have called<a class="link" href="GtkCombo.html#gtk-combo-set-value-in-list"><code class="function">gtk_combo_set_value_in_list()</code></a> to limit the values entered, but you are notworried about differences in case.</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="GtkCombo.html" title="GtkCombo"><span class="type">GtkCombo</span></a>.</td></tr><tr><td><p><span class="term"><em class="parameter"><code>val</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> if the text in the list items is case sensitive.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id4529312"></a><h3><a name="gtk-combo-set-item-string"></a>gtk_combo_set_item_string ()</h3><a class="indexterm" name="id4529329"></a><pre class="programlisting">void                gtk_combo_set_item_string           (<a class="link" href="GtkCombo.html" title="GtkCombo">GtkCombo</a> *combo,                                                         <a class="link" href="GtkItem.html" title="GtkItem">GtkItem</a> *item,                                                         const <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar">gchar</a> *item_value);</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">gtk_combo_set_item_string</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> instead.</p></div><p>Sets the string to place in the <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> field when a particular list item isselected. This is needed if the list item is not a simple label.</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="GtkCombo.html" title="GtkCombo"><span class="type">GtkCombo</span></a>.</td></tr><tr><td><p><span class="term"><em class="parameter"><code>item</code></em>&#160;:</span></p></td><td>a <a class="link" href="GtkItem.html" title="GtkItem"><span class="type">GtkItem</span></a>.</td></tr><tr><td><p><span class="term"><em class="parameter"><code>item_value</code></em>&#160;:</span></p></td><td>the string to place in the <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> when <em class="parameter"><code>item</code></em> is selected.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id4529479"></a><h3><a name="gtk-combo-disable-activate"></a>gtk_combo_disable_activate ()</h3><a class="indexterm" name="id4529496"></a><pre class="programlisting">void                gtk_combo_disable_activate          (<a class="link" href="GtkCombo.html" title="GtkCombo">GtkCombo</a> *combo);</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">gtk_combo_disable_activate</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> instead.</p></div><p>Stops the <a class="link" href="GtkCombo.html" title="GtkCombo"><span class="type">GtkCombo</span></a> widget from showing the popup list when the <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>emits the "activate" signal, i.e. when the Return key is pressed.This may be useful if, for example, you want the Return key to close a dialoginstead.</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="GtkCombo.html" title="GtkCombo"><span class="type">GtkCombo</span></a>.</td></tr></tbody></table></div></div></div><div class="refsect1" lang="en"><a name="id4529590"></a><h2>Property Details</h2><div class="refsect2" lang="en"><a name="id4529601"></a><h3><a name="GtkCombo--allow-empty"></a>The <code class="literal">"allow-empty"</code> property</h3><a class="indexterm" name="id4529618"></a><pre class="programlisting">  "allow-empty"              <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>              : Read / Write</pre><p>Whether an empty value may be entered in this field.</p><p>Default value: TRUE</p></div><hr><div class="refsect2" lang="en"><a name="id4529645"></a><h3><a name="GtkCombo--case-sensitive"></a>The <code class="literal">"case-sensitive"</code> property</h3><a class="indexterm" name="id4529661"></a><pre class="programlisting">  "case-sensitive"           <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>              : Read / Write</pre><p>Whether list item matching is case sensitive.</p><p>Default value: FALSE</p></div><hr><div class="refsect2" lang="en"><a name="id4529688"></a><h3><a name="GtkCombo--enable-arrow-keys"></a>The <code class="literal">"enable-arrow-keys"</code> property</h3><a class="indexterm" name="id4529705"></a><pre class="programlisting">  "enable-arrow-keys"        <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>              : Read / Write</pre><p>Whether the arrow keys move through the list of items.</p><p>Default value: TRUE</p></div><hr><div class="refsect2" lang="en"><a name="id4529732"></a><h3><a name="GtkCombo--enable-arrows-always"></a>The <code class="literal">"enable-arrows-always"</code> property</h3><a class="indexterm" name="id4529750"></a><pre class="programlisting">  "enable-arrows-always"     <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>              : Read / Write</pre><p>Obsolete property, ignored.</p><p>Default value: TRUE</p></div><hr><div class="refsect2" lang="en"><a name="id4529776"></a><h3><a name="GtkCombo--value-in-list"></a>The <code class="literal">"value-in-list"</code> property</h3><a class="indexterm" name="id4529793"></a><pre class="programlisting">  "value-in-list"            <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>              : Read / Write</pre><p>Whether entered values must already be present in the list.</p><p>Default value: FALSE</p></div></div><div class="refsect1" lang="en"><a name="id4529821"></a><div class="refsect2" lang="en"><a name="id4529822"></a></div><hr><div class="refsect2" lang="en"><a name="id4529824"></a></div></div></div></body></html>

⌨️ 快捷键说明

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