GnomeDbDataCellRendererInfo

GnomeDbDataCellRendererInfo — Cell renderer to display a cell contextual menu

Synopsis




                    GnomeDbDataCellRendererInfo;
                    GnomeDbDataCellRendererInfoClass;
                    GnomeDbDataCellRendererInfoPriv;
GtkCellRenderer*    gnome_db_data_cell_renderer_info_new
                                                        (GnomeDbDataStore *store,
                                                         GdaDataModelIter *iter,
                                                         GdaParameterListGroup *group);

Object Hierarchy


  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkCellRenderer
                     +----GnomeDbDataCellRendererInfo

Properties


  "editable"                 gboolean              : Read / Write
  "group"                    gpointer              : Write / Construct Only
  "iter"                     GdaDataModelIter      : Write / Construct Only
  "store"                    GnomeDbDataStore      : Write / Construct Only
  "to-be-deleted"            gboolean              : Write
  "value-attributes"         GdaValueAttribute     : Read / Write

Signals


  "status-changed"                                 : Run Last

Description

Details

GnomeDbDataCellRendererInfo

typedef struct _GnomeDbDataCellRendererInfo GnomeDbDataCellRendererInfo;


GnomeDbDataCellRendererInfoClass

typedef struct {
	GtkCellRendererClass parent_class;
	
	void (* status_changed) (GnomeDbDataCellRendererInfo *cell_renderer_info,
				 const gchar                 *path,
				 GdaValueAttribute            requested_action);
} GnomeDbDataCellRendererInfoClass;


GnomeDbDataCellRendererInfoPriv

typedef struct _GnomeDbDataCellRendererInfoPriv GnomeDbDataCellRendererInfoPriv;


gnome_db_data_cell_renderer_info_new ()

GtkCellRenderer*    gnome_db_data_cell_renderer_info_new
                                                        (GnomeDbDataStore *store,
                                                         GdaDataModelIter *iter,
                                                         GdaParameterListGroup *group);

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

store :
iter :
group :
Returns : the new cell renderer

Property Details

The "editable" property

  "editable"                 gboolean              : Read / Write

The information and status changer can be activated.

Default value: TRUE


The "group" property

  "group"                    gpointer              : Write / Construct Only


The "iter" property

  "iter"                     GdaDataModelIter      : Write / Construct Only


The "store" property

  "store"                    GnomeDbDataStore      : Write / Construct Only


The "to-be-deleted" property

  "to-be-deleted"            gboolean              : Write

Default value: FALSE


The "value-attributes" property

  "value-attributes"         GdaValueAttribute     : Read / Write

Signal Details

The "status-changed" signal

void                user_function                      (GnomeDbDataCellRendererInfo *dbdatacellrendererinfo,
                                                        gchar                       *arg1,
                                                        GdaValueAttribute            arg2,
                                                        gpointer                     user_data)                   : Run Last

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