2003-10-01 22:43:30 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GtkComboBoxEntry
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2004-10-11 18:08:35 +00:00
|
|
|
A text entry field with a dropdown list
|
2003-10-01 22:43:30 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
2004-12-02 21:51:48 +00:00
|
|
|
A #GtkComboBoxEntry is a widget that allows the user to choose from a
|
|
|
|
list of valid choices or enter a different value. It is very similar
|
|
|
|
to a #GtkComboBox, but it displays the selected value in an entry to
|
|
|
|
allow modifying it.
|
|
|
|
</para>
|
2003-10-01 22:43:30 +00:00
|
|
|
|
2004-12-02 21:51:48 +00:00
|
|
|
<para>
|
|
|
|
In contrast to a #GtkComboBox, the underlying model of a #GtkComboBoxEntry
|
|
|
|
must always have a text column (see gtk_combo_box_entry_set_text_column()),
|
2005-06-28 12:31:24 +00:00
|
|
|
and the entry will show the content of the text column in the selected row. To
|
|
|
|
get the text from the entry, use gtk_combo_box_get_active_text().
|
2003-10-01 22:43:30 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2004-12-02 21:51:48 +00:00
|
|
|
The convenience API to construct simple text-only #GtkComboBox<!-- -->es can
|
|
|
|
also be used with #GtkComboBoxEntry<!-- -->s which have been constructed
|
|
|
|
with gtk_combo_box_entry_new_text().
|
|
|
|
</para>
|
2003-10-01 22:43:30 +00:00
|
|
|
|
2004-12-02 21:51:48 +00:00
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
#GtkComboBox
|
2003-10-01 22:43:30 +00:00
|
|
|
</para>
|
|
|
|
|
2005-06-20 22:06:27 +00:00
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
|
|
|
2003-10-01 22:43:30 +00:00
|
|
|
<!-- ##### STRUCT GtkComboBoxEntry ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2003-10-24 22:16:07 +00:00
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### ARG GtkComboBoxEntry:text-column ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2003-10-01 22:43:30 +00:00
|
|
|
<!-- ##### FUNCTION gtk_combo_box_entry_new ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2003-12-08 22:55:03 +00:00
|
|
|
@Returns:
|
|
|
|
<!-- # Unused Parameters # -->
|
|
|
|
@model:
|
|
|
|
@text_column:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_combo_box_entry_new_with_model ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2003-10-01 22:43:30 +00:00
|
|
|
@model:
|
|
|
|
@text_column:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2004-02-26 23:35:05 +00:00
|
|
|
<!-- ##### FUNCTION gtk_combo_box_entry_new_text ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2003-12-08 22:55:03 +00:00
|
|
|
<!-- ##### FUNCTION gtk_combo_box_entry_set_text_column ##### -->
|
2003-10-01 22:43:30 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@entry_box:
|
2003-12-08 22:55:03 +00:00
|
|
|
@text_column:
|
2003-10-01 22:43:30 +00:00
|
|
|
|
|
|
|
|
2003-12-08 22:55:03 +00:00
|
|
|
<!-- ##### FUNCTION gtk_combo_box_entry_get_text_column ##### -->
|
2003-10-25 19:58:51 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2003-12-08 22:55:03 +00:00
|
|
|
@entry_box:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|