![]() |
![]() |
![]() |
Goffice Reference Manual | ![]() |
---|---|---|---|---|
typedef GOComboText; enum GOComboTextSearch; GtkWidget* go_combo_text_new (GCompareFunc cmp_func); GtkWidget* go_combo_text_get_entry (GOComboText *ct); gboolean go_combo_text_set_text (GOComboText *ct, const gchar *text, GOComboTextSearch start); void go_combo_text_add_item (GOComboText *ct, const gchar *label);
typedef enum { /* begin the search from : */ GO_COMBO_TEXT_FROM_TOP, /* the top of the list */ GO_COMBO_TEXT_CURRENT, /* the current selection */ GO_COMBO_TEXT_NEXT /* the next element after current */ } GOComboTextSearch;
GtkWidget* go_combo_text_new (GCompareFunc cmp_func);
|
an optional comparison routine. |
Returns : |
gboolean go_combo_text_set_text (GOComboText *ct, const gchar *text, GOComboTextSearch start);
|
GOComboText |
|
the label for the new item |
|
where to begin the search in the list. |
Returns : |
TRUE if the item is found in the list.
|
void go_combo_text_add_item (GOComboText *ct, const gchar *label);
|
The text combo that will get the new element. |
|
the user visible label for the new item |