GdauiGrid

GdauiGrid — Grid widget to manipulate data in a GdaDataModel, with decorations

Stability Level

Stable, unless otherwise indicated

Properties

Types and Values

struct GdauiGrid

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBox
                    ╰── GdauiGrid

Implemented Interfaces

GdauiGrid implements AtkImplementorIface, GtkBuildable, GtkOrientable, GdauiDataProxy and GdauiDataSelector.

Description

Functions

gdaui_grid_new ()

GtkWidget *
gdaui_grid_new (GdaDataModel *model);

Creates a new GdauiGrid widget suitable to display the data in model

Parameters

model

a GdaDataModel, or NULL.

[allow-none]

Returns

the new widget.

[transfer full]

Since 4.2


gdaui_grid_set_sample_size ()

void
gdaui_grid_set_sample_size (GdauiGrid *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_raw_grid_set_sample_size() and gda_data_proxy_set_sample_size()

Parameters

grid

a GdauiGrid widget

 

sample_size

the size of the sample displayed in grid

 

Since 4.2

Types and Values

struct GdauiGrid

struct GdauiGrid;

Property Details

The “info” property

  “info”                     GdauiDataProxyInfo *

Flags: Read


The “info-flags” property

  “info-flags”               GdauiDataProxyInfoFlag

Flags: Read / Write

Default value: GDAUI_DATA_PROXY_INFO_CURRENT_ROW


The “model” property

  “model”                    GdaDataModel *

Flags: Read / Write


The “raw-grid” property

  “raw-grid”                 GdauiRawGrid *

Flags: Read

See Also

The GdauiRawGrid widget which is used by the GdaGrid widget.