![]() |
![]() |
![]() |
GNOME Data Access 4 manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
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); GList * gdaui_raw_grid_get_selection (GdauiRawGrid *grid);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkTreeView +----GdauiRawGrid
GdauiRawGrid implements GtkBuildable, GdauiDataWidget and AtkImplementorIface.
"data-layout" gpointer : Write "global-actions-visible" gboolean : Read / Write "info-cell-visible" gboolean : Read / Write "model" GdaDataModel* : Read / Write
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 |
void gdaui_raw_grid_set_sample_size (GdauiRawGrid *grid, gint sample_size);
|
|
|
void gdaui_raw_grid_set_sample_start (GdauiRawGrid *grid, gint sample_start);
|
|
|
GList * gdaui_raw_grid_get_selection (GdauiRawGrid *grid);
Returns the list of the currently selected rows in a GdauiRawGrid widget. The returned value is a list of integers, which represent each of the selected rows.
If new rows have been inserted, then those new rows will have a row number equal to -1.
|
a GdauiRawGrid widget |
Returns : |
a new list, should be freed (by calling g_list_free) when no longer needed. |
"global-actions-visible"
property"global-actions-visible" gboolean : Read / Write
Global Actions visible.
Default value: FALSE
"info-cell-visible"
property"info-cell-visible" gboolean : Read / Write
Info cell visible.
Default value: FALSE
"double-clicked"
signalvoid user_function (GdauiRawGrid *gdauirawgrid, gint arg1, gpointer user_data) : Run First
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |
"populate-popup"
signalvoid user_function (GdauiRawGrid *gdauirawgrid, GtkMenu *arg1, gpointer user_data) : Run First
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |
"selection-changed"
signalvoid user_function (GdauiRawGrid *gdauirawgrid, gboolean arg1, gpointer user_data) : Run First
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |