GdauiDataCellRendererPict

GdauiDataCellRendererPict

Functions

GtkCellRenderer * gdaui_data_cell_renderer_pict_new ()

Properties

gboolean editable Read / Write
gboolean to-be-deleted Write
GValue * value Read / Write
GdaValueAttribute value-attributes Read / Write

Signals

void changed Run Last

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkCellRenderer
            ╰── GtkCellRendererPixbuf
                ╰── GdauiDataCellRendererPict

Description

Functions

gdaui_data_cell_renderer_pict_new ()

GtkCellRenderer *
gdaui_data_cell_renderer_pict_new (GdaDataHandler *dh,
                                   GType type,
                                   const gchar *options);

Creates a new GdauiDataCellRendererPict. 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 pict value in the model, thus causing the check button to reflect the state of the model.

Parameters

dh

a GdaDataHandler object

 

options

options string

 

Returns

the new cell renderer

Property Details

The “editable” property

  “editable”                 gboolean

The toggle button can be activated.

Owner: GdauiDataCellRendererPict

Flags: Read / Write

Default value: TRUE


The “to-be-deleted” property

  “to-be-deleted”            gboolean

Owner: GdauiDataCellRendererPict

Flags: Write

Default value: FALSE


The “value” property

  “value”                    GValue *

GValue to render.

Owner: GdauiDataCellRendererPict

Flags: Read / Write


The “value-attributes” property

  “value-attributes”         GdaValueAttribute

Owner: GdauiDataCellRendererPict

Flags: Read / Write

Signal Details

The “changed” signal

void
user_function (GdauiDataCellRendererPict *gdauidatacellrendererpict,
               char                      *arg1,
               GValue                    *arg2,
               gpointer                   user_data)

Flags: Run Last