![]() |
![]() |
![]() |
GNOME Data Access 4 manual | ![]() |
---|---|---|---|---|
Top | Description |
GdauiRawGridGdauiRawGrid — Grid widget to manipulate data in a GdaDataModel |
struct GdauiRawGrid; GtkWidget * gdaui_raw_grid_new (GdaDataModel *model
); void gdaui_raw_grid_set_sample_size (GdauiRawGrid *grid
,gint sample_size
); void gdaui_raw_grid_set_sample_start (GdauiRawGrid *grid
,gint sample_start
); void gdaui_raw_grid_set_layout_from_file (GdauiRawGrid *grid
,const gchar *file_name
,const gchar *grid_name
);
GtkWidget * gdaui_raw_grid_new (GdaDataModel *model
);
Creates a new GdauiRawGrid widget suitable to display the data in model
|
a GdaDataModel |
Returns : |
the new widget. [transfer full] |
Since 4.2
void gdaui_raw_grid_set_sample_size (GdauiRawGrid *grid
,gint sample_size
);
Sets the size of each chunk of data to display: the maximum number of rows which
can be displayed at a time. See gdaui_grid_set_sample_size()
and gda_data_proxy_set_sample_size()
|
a GdauiRawGrid |
|
the size of the sample displayed in grid
|
Since 4.2
void gdaui_raw_grid_set_sample_start (GdauiRawGrid *grid
,gint sample_start
);
|
a GdauiRawGrid |
Since 4.2
void gdaui_raw_grid_set_layout_from_file (GdauiRawGrid *grid
,const gchar *file_name
,const gchar *grid_name
);
Sets a grid's columns layout according an XML description contained in file_name
, for the grid identified
by the grid_name
name (as an XML layout file can contain the descriptions of several forms and grids).
|
a GdauiRawGrid |
|
XML file name to use |
|
the name of the grid to use, in file_name
|
Since 4.2
The GdauiGrid widget which uses the GdauiRawGrid and adds decorations such as information about data model size, and features searching.