GdauiGrid

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

Stability Level

Stable, unless otherwise indicated

Functions

GtkWidget * gdaui_grid_new ()
void gdaui_grid_set_sample_size ()

Properties

GdauiDataProxyInfo * info Read
GdauiDataProxyInfoFlag info-flags Read / Write
GdaDataModel * model Read / Write
GdauiRawGrid * raw-grid Read

Types and Values

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.

[nullable]

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

GDAUI_TYPE_GRID

#define GDAUI_TYPE_GRID          (gdaui_grid_get_type())

struct GdauiGridClass

struct GdauiGridClass {
	GtkBoxClass       parent_class;
	gpointer            padding[12];
};

GdauiGrid

typedef struct _GdauiGrid GdauiGrid;

Property Details

The “info” property

  “info”                     GdauiDataProxyInfo *

Owner: GdauiGrid

Flags: Read


The “info-flags” property

  “info-flags”               GdauiDataProxyInfoFlag

Owner: GdauiGrid

Flags: Read / Write

Default value: GDAUI_DATA_PROXY_INFO_CURRENT_ROW


The “model” property

  “model”                    GdaDataModel *

Owner: GdauiGrid

Flags: Read / Write


The “raw-grid” property

  “raw-grid”                 GdauiRawGrid *

Owner: GdauiGrid

Flags: Read

See Also

The GdauiRawGrid widget which is used by the GdaGrid widget.