GnomeDbCombo

Name

GnomeDbCombo -- 

Synopsis



struct      GnomeDbComboPrivate;
GtkWidget*  gnome_db_combo_new              (void);
void        gnome_db_combo_set_model        (GnomeDbCombo *combo,
                                             GdaDataModel *model,
                                             gint col);

Description

Details

struct GnomeDbComboPrivate

struct GnomeDbComboPrivate;


gnome_db_combo_new ()

GtkWidget*  gnome_db_combo_new              (void);

Create a new GnomeDbCombo widget.

Returns :

the newly-created widget.


gnome_db_combo_set_model ()

void        gnome_db_combo_set_model        (GnomeDbCombo *combo,
                                             GdaDataModel *model,
                                             gint col);

Associate a GdaDataModel with the given combo widget. Doing so makes the combo widget refresh its list of values and display the values contained in the model, in the given position. A NULL model will make the combo empty and disassociate the previous model, if any.

combo :

a GnomeDbCombo widget.

model :

a GdaDataModel object.

col :

column in the model to be shown.