Name
GnomeDbEntry -- A data-bound entry widget
Description
The GnomeDbEntry widget is just a simple GtkEntry with database support.
That is, you can associate a GdaRecordset to a GnomeDbEntry widget, and
the former will display the contents of a given field for the current
row. It also responds to movements in the recordset, so that if, in another
part of your program, you move to another row in the recordset, the
GnomeDbEntry widget will react by showing the contents of the newly
selected row.
Details
struct GnomeDbEntryPrivate
struct GnomeDbEntryPrivate; |
gnome_db_entry_new ()
GtkWidget* gnome_db_entry_new (GdaRecordset *recset,
gint col); |
gnome_db_entry_get_recordset ()
GdaRecordset* gnome_db_entry_get_recordset (GnomeDbEntry *entry); |
gnome_db_entry_set_recordset ()
void gnome_db_entry_set_recordset (GnomeDbEntry *entry,
GdaRecordset *recset,
gint col); |
gnome_db_entry_get_text ()
const gchar* gnome_db_entry_get_text (GnomeDbEntry *entry); |
gnome_db_entry_set_text ()
void gnome_db_entry_set_text (GnomeDbEntry *entry,
const gchar *txt); |