Top | ![]() |
![]() |
![]() |
![]() |
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 |
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.
#define GDAUI_TYPE_DATA_CELL_RENDERER_INFO (gdaui_data_cell_renderer_info_get_type ())
struct GdauiDataCellRendererInfoClass { GtkCellRendererClass parent_class; void (* status_changed) (GdauiDataCellRendererInfo *cell_renderer_info, const gchar *path, GdaValueAttribute requested_action); };
“editable”
property “editable” gboolean
The information and status changer can be activated.
Owner: GdauiDataCellRendererInfo
Flags: Read / Write
Default value: TRUE
“group”
property “group” gpointer
Owner: GdauiDataCellRendererInfo
Flags: Write / Construct Only
“iter”
property “iter” GdaDataModelIter *
Owner: GdauiDataCellRendererInfo
Flags: Write / Construct Only
“store”
property“store” GdauiDataStore *
Owner: GdauiDataCellRendererInfo
Flags: Write / Construct Only
“to-be-deleted”
property “to-be-deleted” gboolean
Owner: GdauiDataCellRendererInfo
Flags: Write
Default value: FALSE
“status-changed”
signalvoid user_function (GdauiDataCellRendererInfo *cell_renderer_info, char *path, GdaValueAttribute requested_action, gpointer user_data)
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