GOComboText

GOComboText

Functions

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkBox
                        ╰── GtkHBox
                            ╰── GOComboBox
                                ╰── GOComboText

Implemented Interfaces

GOComboText implements AtkImplementorIface, GtkBuildable and GtkOrientable.

Description

Functions

GO_COMBO_TEXT()

#define GO_COMBO_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, GO_TYPE_COMBO_TEXT, GOComboText))


GO_IS_COMBO_TEXT()

#define GO_IS_COMBO_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE (obj, GO_TYPE_COMBO_TEXT))


go_combo_text_get_type ()

GType
go_combo_text_get_type (void);


go_combo_text_new ()

GtkWidget *
go_combo_text_new (GCompareFunc cmp_func);

Parameters

cmp_func

an optional comparison routine.

 

go_combo_text_new_default ()

GtkWidget *
go_combo_text_new_default (void);


go_combo_text_get_entry ()

GtkWidget *
go_combo_text_get_entry (GOComboText *ct);


go_combo_text_set_text ()

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

Parameters

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);

Parameters

ct

The text combo that will get the new element.

 

label

the user visible label for the new item

 

Types and Values

GO_TYPE_COMBO_TEXT

#define GO_TYPE_COMBO_TEXT (go_combo_text_get_type ())


GOComboText

typedef struct _GOComboText GOComboText;


enum GOComboTextSearch

Members

GO_COMBO_TEXT_FROM_TOP

   

GO_COMBO_TEXT_CURRENT

   

GO_COMBO_TEXT_NEXT

   

Signal Details

The “entry-changed” signal

gboolean
user_function (GOComboText *gocombotext,
               gpointer     arg1,
               gpointer     user_data)

Parameters

gocombotext

the object which received the signal.

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last


The “selection-changed” signal

gboolean
user_function (GOComboText *gocombotext,
               gpointer     arg1,
               gpointer     user_data)

Parameters

gocombotext

the object which received the signal.

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last