## GnomeDbDataCellRendererBoolean GnomeDbDataCellRendererBoolean — Cell renderer for booleans |

## Synopsis

                        GnomeDbDataCellRendererBoolean;
                        GnomeDbDataCellRendererBooleanClass;
                        GnomeDbDataCellRendererBooleanPrivate;
    GtkCellRenderer *   gnome_db_data_cell_renderer_boolean_new
                                                            (GdaDataHandler *dh,
                                                             GType type);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkCellRenderer
                         +----GtkCellRendererToggle
                               +----GnomeDbDataCellRendererBoolean

## Properties

      "data-handler"             GdaDataHandler*       : Write / Construct Only
      "editable"                 gboolean              : Read / Write
      "to-be-deleted"            gboolean              : Write
      "type"                     GType*                : Write / Construct Only
      "value"                    GValue*               : Read / Write
      "value-attributes"         GdaValueAttribute     : Read / Write

## Signals

      "changed"                                        : Run Last

## Description

## Details

### GnomeDbDataCellRendererBoolean

    typedef struct _GnomeDbDataCellRendererBoolean GnomeDbDataCellRendererBoolean;

### GnomeDbDataCellRendererBooleanClass

    typedef struct {
    	GtkCellRendererToggleClass  parent_class;

    	void (* changed) (GnomeDbDataCellRendererBoolean *cell_renderer,
    			  const gchar               *path,
    			  const GValue            *new_value);
    } GnomeDbDataCellRendererBooleanClass;

### GnomeDbDataCellRendererBooleanPrivate

    typedef struct _GnomeDbDataCellRendererBooleanPrivate GnomeDbDataCellRendererBooleanPrivate;

### gnome_db_data_cell_renderer_boolean_new ()

    GtkCellRenderer *   gnome_db_data_cell_renderer_boolean_new
                                                            (GdaDataHandler *dh,
                                                             GType type);

Creates a new GnomeDbDataCellRendererBoolean. 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.

`dh` : | a GdaDataHandler object
`type` : |
Returns : | the new cell renderer

## Property Details

### The `"data-handler"` property

      "data-handler"             GdaDataHandler*       : Write / Construct Only

### The `"editable"` property

      "editable"                 gboolean              : Read / Write

The toggle button can be activated.

Default value: TRUE

### The `"to-be-deleted"` property

      "to-be-deleted"            gboolean              : Write

Default value: FALSE

### The `"type"` property

      "type"                     GType*                : Write / Construct Only

### The `"value"` property

      "value"                    GValue*               : Read / Write

GValue to render.

### The `"value-attributes"` property

      "value-attributes"         GdaValueAttribute     : Read / Write

## Signal Details

### The `"changed"` signal

    void                user_function                      (GnomeDbDataCellRendererBoolean *dbdatacellrendererboolean,
                                                            gchar                          *arg1,
                                                            GValue                         *arg2,
                                                            gpointer                        user_data)                      : Run Last

`dbdatacellrendererboolean` : | the object which received the signal.
`arg1` : |
`arg2` : |
`user_data` : | user data set when the signal handler was connected.