Details
gnome_db_grid_new ()
GtkWidget* gnome_db_grid_new (GdaRecordset *recset); |
Creates a new GnomeDbGrid widget, which displays the given
recordset, if given
gnome_db_grid_set_background ()
void gnome_db_grid_set_background (GnomeDbGrid *grid,
gint row,
GdkColor *color); |
Sets the background color of an entire row. The "color" parameter
must already be allocated
gnome_db_grid_set_foreground ()
void gnome_db_grid_set_foreground (GnomeDbGrid *grid,
gint row,
GdkColor *color); |
Sets the foreground color of an entire row. The "color" parameter
must already be allocated
gnome_db_grid_select_all ()
Selects all cells in the given grid
gnome_db_grid_clear_selection ()
void gnome_db_grid_clear_selection (GnomeDbGrid *grid); |
Clears the current selection in the given grid
gnome_db_grid_get_selected_rows ()
gint gnome_db_grid_get_selected_rows (GnomeDbGrid *grid); |
gnome_db_grid_copy_clipboard ()
Copies the current selection to the clipboard
gnome_db_grid_get_cell ()
const gchar* gnome_db_grid_get_cell (GnomeDbGrid *grid,
gint col,
gint row); |
gnome_db_grid_set_column_visibility ()
void gnome_db_grid_set_column_visibility
(GnomeDbGrid *grid,
gint col,
gint vis); |
Shows or hides a column in the given grid widget. The default is to show
all columns
gnome_db_grid_set_row_visibility ()
void gnome_db_grid_set_row_visibility
(GnomeDbGrid *grid,
gint row,
gint vis); |
Shows or hides a row in the given grid widget. The default is to show
all rows
gnome_db_grid_hide_column_titles ()
void gnome_db_grid_hide_column_titles
(GnomeDbGrid *grid); |
Hides columns in the given grid
gnome_db_grid_show_column_titles ()
void gnome_db_grid_show_column_titles
(GnomeDbGrid *grid); |
Shows columns in the given grid
gnome_db_grid_hide_row_numbers ()
void gnome_db_grid_hide_row_numbers (GnomeDbGrid *grid); |
Hides row numbers in the given grid
gnome_db_grid_show_row_numbers ()
void gnome_db_grid_show_row_numbers (GnomeDbGrid *grid); |
Show row numbers in the given grid
gnome_db_grid_get_row_count()
#define gnome_db_grid_get_row_count(grid) |
gnome_db_grid_clear ()
Removes all rows from the given grid
gnome_db_grid_refresh ()
Refresh grid's contents
gnome_db_grid_get_recordset ()
GdaRecordset* gnome_db_grid_get_recordset (GnomeDbGrid *grid); |
Returns the GdaRecordset object being used by this grid
gnome_db_grid_set_recordset ()
void gnome_db_grid_set_recordset (GnomeDbGrid *grid,
GdaRecordset *recset); |
Sets the recordset to be displayed on the given grid