NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.77+"> GnomeDbGridName GnomeDbGrid -- Database grid widget
Details struct GnomeDbGridPrivatestruct GnomeDbGridPrivate;
GnomeDbGridForeachFunc ()void (*GnomeDbGridForeachFunc) (GnomeDbGrid *grid,
gint row,
gpointer user_data);
gnome_db_grid_new ()GtkWidget* gnome_db_grid_new (void);
gnome_db_grid_new_with_model ()GtkWidget* gnome_db_grid_new_with_model (GdaDataModel *model);
gnome_db_grid_get_title ()const gchar* gnome_db_grid_get_title (GnomeDbGrid *grid);
Get the title for the given grid.
gnome_db_grid_set_title ()void gnome_db_grid_set_title (GnomeDbGrid *grid,
const gchar *title);
Set the title for the given grid.
gnome_db_grid_get_show_title ()gboolean gnome_db_grid_get_show_title (GnomeDbGrid *grid);
Get whether the title is being shown for the given grid.
grid : a GnomeDbGrid widget.
Returns : TRUE if the title is shown, FALSE if not.
gnome_db_grid_set_show_title ()void gnome_db_grid_set_show_title (GnomeDbGrid *grid,
gboolean show);
Set the title displating mode for the given grid.
grid : a GnomeDbGrid widget.
show : whether to show the title or not.
gnome_db_grid_get_model ()
gnome_db_grid_set_model ()void gnome_db_grid_set_model (GnomeDbGrid *grid,
GdaDataModel *model);
gnome_db_grid_get_selection ()GList* gnome_db_grid_get_selection (GnomeDbGrid *grid);
Returns the list of the currently selected rows in a
GnomeDbGrid widget. The returned value is a list of integers,
which represent each of the selected rows.
grid : a GnomeDbGrid widget.
Returns : a GList of integers. This list should be freed (by calling
g_list_free) when no longer needed.
gnome_db_grid_foreach_selected ()void gnome_db_grid_foreach_selected (GnomeDbGrid *grid,
GnomeDbGridForeachFunc foreach_func,
gpointer user_data);
Call the given function for each selected row in the GnomeDbGrid
widget.
gnome_db_grid_select_all ()void gnome_db_grid_select_all (GnomeDbGrid *grid);
gnome_db_grid_unselect_all ()void gnome_db_grid_unselect_all (GnomeDbGrid *grid);
gnome_db_grid_get_selection_mode ()GtkSelectionMode gnome_db_grid_get_selection_mode
(GnomeDbGrid *grid);
gnome_db_grid_set_selection_mode ()void gnome_db_grid_set_selection_mode
(GnomeDbGrid *grid,
GtkSelectionMode mode);
gnome_db_grid_hide_column_titles ()void gnome_db_grid_hide_column_titles
(GnomeDbGrid *grid);
gnome_db_grid_show_column_titles ()void gnome_db_grid_show_column_titles
(GnomeDbGrid *grid);