GnomeDbCombo

Name

GnomeDbCombo -- 

Synopsis



GtkWidget*  gnome_db_combo_new              (GdaRecordset *recset,
                                             gint pos);
gboolean    gnome_db_combo_get_editable     (GnomeDbCombo *dbcombo);
void        gnome_db_combo_set_editable     (GnomeDbCombo *dbcombo,
                                             gboolean editable);
void        gnome_db_combo_refresh          (GnomeDbCombo *dbcombo);
gint        gnome_db_combo_get_row_count    (GnomeDbCombo *dbcombo);
gchar*      gnome_db_combo_get_string       (GnomeDbCombo *dbcombo);
GdaRecordset* gnome_db_combo_get_recordset  (GnomeDbCombo *dbcombo);
void        gnome_db_combo_set_recordset    (GnomeDbCombo *dbcombo,
                                             GdaRecordset *recset,
                                             gint pos);
void        gnome_db_combo_sync             (GnomeDbCombo *dbcombo);

Object Hierarchy


  GtkObject
   +----GtkWidget
         +----GtkContainer
               +----GtkBox
                     +----GtkHBox
                           +----GtkCombo
                                 +----GnomeDbCombo

Signal Prototypes


"error"     void        user_function      (GnomeDbCombo *dbcombo,
                                            gpointer user_data);
"selection-changed"
            void        user_function      (GnomeDbCombo *dbcombo,
                                            gpointer user_data);

Description

Details

gnome_db_combo_new ()

GtkWidget*  gnome_db_combo_new              (GdaRecordset *recset,
                                             gint pos);

Creates a new GnomeDbCombo widget. You can optionally specify a GdaRecordset object which will be used by the GnomeDbCombo widget

recset : recordset to be shown
pos : position of the field being shown
Returns : a pointer to the new widget, or NULL on error


gnome_db_combo_get_editable ()

gboolean    gnome_db_combo_get_editable     (GnomeDbCombo *dbcombo);

dbcombo : the GnomeDbCombo widget Returns: TRUE if the combo box is editable , or FALSE if not
Returns : 


gnome_db_combo_set_editable ()

void        gnome_db_combo_set_editable     (GnomeDbCombo *dbcombo,
                                             gboolean editable);

dbcombo : 
editable : 


gnome_db_combo_refresh ()

void        gnome_db_combo_refresh          (GnomeDbCombo *dbcombo);

dbcombo : 


gnome_db_combo_get_row_count ()

gint        gnome_db_combo_get_row_count    (GnomeDbCombo *dbcombo);

dbcombo : 
Returns : 


gnome_db_combo_get_string ()

gchar*      gnome_db_combo_get_string       (GnomeDbCombo *dbcombo);

dbcombo : 
Returns : 


gnome_db_combo_get_recordset ()

GdaRecordset* gnome_db_combo_get_recordset  (GnomeDbCombo *dbcombo);

dbcombo : 
Returns : 


gnome_db_combo_set_recordset ()

void        gnome_db_combo_set_recordset    (GnomeDbCombo *dbcombo,
                                             GdaRecordset *recset,
                                             gint pos);

dbcombo : 
recset : 
pos : 


gnome_db_combo_sync ()

void        gnome_db_combo_sync             (GnomeDbCombo *dbcombo);

dbcombo : 

Signals

The "error" signal

void        user_function                  (GnomeDbCombo *dbcombo,
                                            gpointer user_data);

dbcombo :the object which received the signal.
user_data :user data set when the signal handler was connected.


The "selection-changed" signal

void        user_function                  (GnomeDbCombo *dbcombo,
                                            gpointer user_data);

dbcombo :the object which received the signal.
user_data :user data set when the signal handler was connected.