Top |
#define | GNT_COMBO_BOX_FLAGS() |
#define | GNT_COMBO_BOX_SET_FLAGS() |
#define | GNT_COMBO_BOX_UNSET_FLAGS() |
GType | gnt_combo_box_get_gtype () |
GntWidget * | gnt_combo_box_new () |
GntWidget * | gnt_combo_box_get_dropdown () |
void | gnt_combo_box_add_data () |
void | gnt_combo_box_remove () |
void | gnt_combo_box_remove_all () |
gpointer | gnt_combo_box_get_selected_data () |
void | gnt_combo_box_set_selected () |
#define GNT_COMBO_BOX_FLAGS(obj) (GNT_COMBO_BOX(obj)->priv.flags)
GNT_COMBO_BOX_FLAGS
has been deprecated since version 2.14.0 and should not be used in newly-written code.
This is an internal implementation detail.
#define GNT_COMBO_BOX_SET_FLAGS(obj, flags) (GNT_COMBO_BOX_FLAGS(obj) |= flags)
GNT_COMBO_BOX_SET_FLAGS
has been deprecated since version 2.14.0 and should not be used in newly-written code.
This is an internal implementation detail.
#define GNT_COMBO_BOX_UNSET_FLAGS(obj, flags) (GNT_COMBO_BOX_FLAGS(obj) &= ~(flags))
GNT_COMBO_BOX_UNSET_FLAGS
has been deprecated since version 2.14.0 and should not be used in newly-written code.
This is an internal implementation detail.
GntWidget *
gnt_combo_box_get_dropdown (GntComboBox *box
);
Get the dropdown GntTree that is shown when opened
Since: 2.14.0
void gnt_combo_box_add_data (GntComboBox *box
,gpointer key
,const char *text
);
Add an entry
gpointer
gnt_combo_box_get_selected_data (GntComboBox *box
);
Get the data that is currently selected
void gnt_combo_box_set_selected (GntComboBox *box
,gpointer key
);
Set the current selection to a specific entry
struct GntComboBox { GntWidget parent; GntWidget *GNTSEAL(dropdown); /* Deprecated. Use gnt_combo_box_get_dropdown. */ void *GNTSEAL(selected); /* Deprecated. Use gnt_combo_box_get_selected_data. */ };
Access to any fields is deprecated. See inline comments for replacements.