GdauiDataCellRendererInfo

GdauiDataCellRendererInfo

Functions

GtkCellRenderer * gdaui_data_cell_renderer_info_new ()

Properties

gboolean editable Read / Write
gpointer group Write / Construct Only
GdaDataModelIter * iter Write / Construct Only
GdauiDataStore * store Write / Construct Only
gboolean to-be-deleted Write
GdaValueAttribute value-attributes Read / Write

Signals

void status-changed Run Last

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkCellRenderer
            ╰── GdauiDataCellRendererInfo

Description

Functions

gdaui_data_cell_renderer_info_new ()

GtkCellRenderer *
gdaui_data_cell_renderer_info_new (GdauiDataStore *store,
                                   GdaDataModelIter *iter,
                                   GdauiSetGroup *group);

Creates a new GdauiDataCellRendererInfo. Adjust rendering parameters using object properties. Object properties can be set globally (with g_object_set()). Also, with GtkTreeViewColumn, you can bind a property to a value in a GtkTreeModel. For example, you can bind the "active" property on the cell renderer to a boolean value in the model, thus causing the check button to reflect the state of the model.

Parameters

store

a GdauiDataStore

 

iter

a GdaDataModelIter

 

group

a GdauiSetGroup pointer

 

Returns

the new cell renderer.

[transfer full]

Types and Values

GDAUI_TYPE_DATA_CELL_RENDERER_INFO

#define GDAUI_TYPE_DATA_CELL_RENDERER_INFO			(gdaui_data_cell_renderer_info_get_type ())

struct GdauiDataCellRendererInfoClass

struct GdauiDataCellRendererInfoClass {
	GtkCellRendererClass parent_class;
	void (* status_changed) (GdauiDataCellRendererInfo *cell_renderer_info,
				 const gchar                 *path,
				 GdaValueAttribute            requested_action);
};

GdauiDataCellRendererInfo

typedef struct _GdauiDataCellRendererInfo GdauiDataCellRendererInfo;

Property Details

The “editable” property

  “editable”                 gboolean

The information and status changer can be activated.

Owner: GdauiDataCellRendererInfo

Flags: Read / Write

Default value: TRUE


The “group” property

  “group”                    gpointer

Owner: GdauiDataCellRendererInfo

Flags: Write / Construct Only


The “iter” property

  “iter”                     GdaDataModelIter *

Owner: GdauiDataCellRendererInfo

Flags: Write / Construct Only


The “store” property

  “store”                    GdauiDataStore *

Owner: GdauiDataCellRendererInfo

Flags: Write / Construct Only


The “to-be-deleted” property

  “to-be-deleted”            gboolean

Owner: GdauiDataCellRendererInfo

Flags: Write

Default value: FALSE


The “value-attributes” property

  “value-attributes”         GdaValueAttribute

Owner: GdauiDataCellRendererInfo

Flags: Read / Write

Signal Details

The “status-changed” signal

void
user_function (GdauiDataCellRendererInfo *cell_renderer_info,
               char                      *path,
               GdaValueAttribute          requested_action,
               gpointer                   user_data)

Parameters

cell_renderer_info

Widget that receive the signal

 

path

a string with the path of the attribute

 

requested_action

action made.

[type Gda.ValueAttribute]

user_data

user data set when the signal handler was connected.

 

Flags: Run Last