go-combo-text

go-combo-text

Synopsis

typedef             GOComboText;
enum                GOComboTextSearch;
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);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBox
                                 +----GtkHBox
                                       +----GOComboBox
                                             +----GOComboText

Implemented Interfaces

GOComboText implements AtkImplementorIface and GtkBuildable.

Signals

  "entry-changed"                                  : Run Last
  "selection-changed"                              : Run Last

Description

Details

GOComboText

typedef struct _GoComboText	   GOComboText;


enum GOComboTextSearch

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;


go_combo_text_new ()

GtkWidget*          go_combo_text_new                   (GCompareFunc cmp_func);

cmp_func :

an optional comparison routine.

Returns :


go_combo_text_glade_new ()

GtkWidget*          go_combo_text_glade_new             (void);

Returns :


go_combo_text_get_entry ()

GtkWidget*          go_combo_text_get_entry             (GOComboText *ct);

ct :

Returns :


go_combo_text_set_text ()

gboolean            go_combo_text_set_text              (GOComboText *ct,
                                                         const gchar *text,
                                                         GOComboTextSearch start);

ct :

GOComboText

text :

the label for the new item

start :

where to begin the search in the list.

Returns :

TRUE if the item is found in the list.

go_combo_text_add_item ()

void                go_combo_text_add_item              (GOComboText *ct,
                                                         const gchar *label);

ct :

The text combo that will get the new element.

label :

the user visible label for the new item

Signal Details

The "entry-changed" signal

gboolean            user_function                      (GOComboText *gocombotext,
                                                        gpointer     arg1,
                                                        gpointer     user_data)        : Run Last

gocombotext :

the object which received the signal.

arg1 :

user_data :

user data set when the signal handler was connected.

Returns :


The "selection-changed" signal

gboolean            user_function                      (GOComboText *gocombotext,
                                                        gpointer     arg1,
                                                        gpointer     user_data)        : Run Last

gocombotext :

the object which received the signal.

arg1 :

user_data :

user data set when the signal handler was connected.

Returns :