| Top |
GdauiRawGridGdauiRawGrid — Grid widget to manipulate data in a GdaDataModel |
![]() |
| GtkWidget * | gdaui_raw_grid_new () |
| void | gdaui_raw_grid_set_sample_size () |
| void | gdaui_raw_grid_set_sample_start () |
| void | gdaui_raw_grid_set_layout_from_file () |
| gboolean | global-actions-visible | Read / Write |
| gboolean | info-cell-visible | Read / Write |
| GdaDataModel * | model | Read / Write |
| gpointer | xml-layout | Write |
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkTreeView
╰── GdauiRawGrid
GdauiRawGrid implements AtkImplementorIface, GtkBuildable, GtkScrollable, GdauiDataProxy and GdauiDataSelector.
The GdauiGrid widget which uses the GdauiRawGrid and adds decorations such as information about data model size, and features searching.
GtkWidget *
gdaui_raw_grid_new (GdaDataModel *model);
Creates a new GdauiRawGrid widget suitable to display the data in model
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()
Since: 4.2
void gdaui_raw_grid_set_sample_start (GdauiRawGrid *grid,gint sample_start);
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).
Since: 4.2
“global-actions-visible” property “global-actions-visible” gboolean
Global Actions visible.
Owner: GdauiRawGrid
Flags: Read / Write
Default value: FALSE
“info-cell-visible” property “info-cell-visible” gboolean
Info cell visible.
Owner: GdauiRawGrid
Flags: Read / Write
Default value: FALSE
“double-clicked” signalvoid user_function (GdauiRawGrid *grid, gint row, gpointer user_data)
Emitted when the user double clicks on a row
grid |
GdauiRawGrid |
|
row |
the row that was double clicked |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run First
“populate-popup” signalvoid user_function (GdauiRawGrid *grid, GtkMenu *menu, gpointer user_data)
Connect this signal and modify the popup menu.
grid |
GdauiRawGrid |
|
menu |
a GtkMenu to modify |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run First
the GdauiGrid widget which uses the GdauiRawGrid and adds decorations such as information about data model size, and features searching.