|  |  |  | Goffice Reference Manual |  | 
|---|---|---|---|---|
#define GO_TYPE_COMBO_TEXT #define GO_COMBO_TEXT (obj) #define IS_GO_COMBO_TEXT (obj) GoComboText; enum GoComboTextSearch; GType go_combo_text_get_type (void); GtkWidget* go_combo_text_new (GCompareFunc cmp_func); GtkWidget* go_combo_text_glade_new (void); 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);
  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBox
                                 +----GtkHBox
                                       +----GOComboBox
                                             +----GoComboText
#define GO_COMBO_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, GO_TYPE_COMBO_TEXT, GoComboText))
| 
 | 
#define IS_GO_COMBO_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE (obj, GO_TYPE_COMBO_TEXT))
| 
 | 
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 : | TRUEif 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 | 
"entry-changed" signalgboolean user_function (GoComboText *gocombotext, gpointer arg1, gpointer user_data) : Run Last
| 
 | the object which received the signal. | 
| 
 | |
| 
 | user data set when the signal handler was connected. | 
| Returns : | 
"selection-changed" signalgboolean user_function (GoComboText *gocombotext, gpointer arg1, gpointer user_data) : Run Last
| 
 | the object which received the signal. | 
| 
 | |
| 
 | user data set when the signal handler was connected. | 
| Returns : |