## GdauiRawGrid

GdauiRawGrid — Grid widget to manipulate data in a GdaDataModel

## Synopsis

                        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);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkTreeView
                                     +----GdauiRawGrid

## Implemented Interfaces

GdauiRawGrid implements AtkImplementorIface, GtkBuildable, GdauiDataProxy and GdauiDataSelector.

## Properties

      "global-actions-visible"   gboolean              : Read / Write
      "info-cell-visible"        gboolean              : Read / Write
      "model"                    GdaDataModel*         : Read / Write
      "xml-layout"               gpointer              : Write

## Signals

      "double-clicked"                                 : Run First
      "populate-popup"                                 : Run First

## Description

## Details

### GdauiRawGrid

    typedef struct _GdauiRawGrid GdauiRawGrid;

### gdaui_raw_grid_new ()

    GtkWidget *         gdaui_raw_grid_new                  (GdaDataModel *model);

Creates a new GdauiRawGrid widget suitable to display the data in `model`

`model` : | a GdaDataModel
Returns : | the new widget. [transfer full]

Since 4.2

### gdaui_raw_grid_set_sample_size ()

    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()`

`grid` : | a GdauiRawGrid
`sample_size` : | the size of the sample displayed in `grid`

Since 4.2

### gdaui_raw_grid_set_sample_start ()

    void                gdaui_raw_grid_set_sample_start     (GdauiRawGrid *grid,
                                                             gint sample_start);

`grid` : | a GdauiRawGrid

Since 4.2

### gdaui_raw_grid_set_layout_from_file ()

    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).

`grid` : | a GdauiRawGrid
`file_name` : | XML file name to use
`grid_name` : | the name of the grid to use, in `file_name`

Since 4.2

## Property Details

### The `"global-actions-visible"` property

      "global-actions-visible"   gboolean              : Read / Write

Global Actions visible.

Default value: FALSE

### The `"info-cell-visible"` property

      "info-cell-visible"        gboolean              : Read / Write

Info cell visible.

Default value: FALSE

### The `"model"` property

      "model"                    GdaDataModel*         : Read / Write

### The `"xml-layout"` property

      "xml-layout"               gpointer              : Write

## Signal Details

### The `"double-clicked"` signal

    void                user_function                      (GdauiRawGrid *gdauirawgrid,
                                                            gint          arg1,
                                                            gpointer      user_data)         : Run First

`gdauirawgrid` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.

### The `"populate-popup"` signal

    void                user_function                      (GdauiRawGrid *gdauirawgrid,
                                                            GtkMenu      *arg1,
                                                            gpointer      user_data)         : Run First

`gdauirawgrid` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.

## See Also

The GdauiGrid widget which uses the GdauiRawGrid and adds decorations such as information about data model size, and features searching.