GtkCellRendererCombo

GtkCellRendererCombo

Synopsis

#include <gtk/gtk.h>

                    GtkCellRendererCombo;
GtkCellRenderer *   gtk_cell_renderer_combo_new         (void);

Description

Details

GtkCellRendererCombo

typedef struct {
  GtkCellRendererText parent;
} GtkCellRendererCombo;


gtk_cell_renderer_combo_new ()

GtkCellRenderer *   gtk_cell_renderer_combo_new         (void);

Creates a new GtkCellRendererCombo. Adjust how text is drawn 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 "text" property on the cell renderer to a string value in the model, thus rendering a different string in each row of the GtkTreeView.

Returns :

the new cell renderer

Since 2.6