libgnomedb Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
struct GnomeDbFormPrivate; enum GnomeDbFormType; GtkWidget* gnome_db_form_new (void); GnomeDbFormType gnome_db_form_get_form_type (GnomeDbForm *form); void gnome_db_form_set_form_type (GnomeDbForm *form, GnomeDbFormType type); GdaDataModel* gnome_db_form_get_model (GnomeDbForm *form); void gnome_db_form_set_model (GnomeDbForm *form, GdaDataModel *model); |
typedef enum { GNOME_DB_FORM_TYPE_NAVIGATOR, GNOME_DB_FORM_TYPE_LIST } GnomeDbFormType; |
GtkWidget* gnome_db_form_new (void); |
Create a new GnomeDbForm widget, which is a high-level widget which lets you display recordsets in many different ways, such as a list, record-by-record, etc.
void gnome_db_form_set_form_type (GnomeDbForm *form, GnomeDbFormType type); |
GdaDataModel* gnome_db_form_get_model (GnomeDbForm *form); |
Return the GdaDataModel being used by the given widget.