Details
gnome_db_list_new ()
GtkWidget* gnome_db_list_new (GdaRecordset *recset,
gint pos); |
Creates a new GnomeDbList widget
gnome_db_list_clear ()
Clears the DbList widget. It clears all entries in the list and frees
the recordset associated
gnome_db_list_get_row_count ()
gint gnome_db_list_get_row_count (GnomeDbList *dblist); |
Returns number of rows actually loaded in the recordset. As the list widget loads
data asynchronously, you may call this function before all rows have been fetched
from the database, in which case, it won't reflect the "real" number of rows
returned in the recordset
gnome_db_list_get_string ()
Returns the currently selected item's text. That is, the literal of the first
selected item
gnome_db_list_get_recordset ()
GdaRecordset* gnome_db_list_get_recordset (GnomeDbList *dblist); |
Returns the GdaRecordset object associated with the given GnomeDbList
widget
gnome_db_list_set_recordset ()
void gnome_db_list_set_recordset (GnomeDbList *dblist,
GdaRecordset *recset,
gint pos); |
Associates a GdaRecordset object with the given GnomeDbList
widget and shows its contents
gnome_db_list_get_pixmap ()
GdkPixmap* gnome_db_list_get_pixmap (GnomeDbList *dblist,
gint row); |
gnome_db_list_set_pixmap ()
void gnome_db_list_set_pixmap (GnomeDbList *dblist,
gint row,
GdkPixmap *pixmap,
GdkBitmap *mask); |
Sets the pixmap to be shown for the given row
gnome_db_list_get_pixmap_mask ()
GdkBitmap* gnome_db_list_get_pixmap_mask (GnomeDbList *dblist,
gint row); |