GtkCellRendererTextPixbuf

Name

GtkCellRendererTextPixbuf -- 

Synopsis


#include <gtk/gtk.h>


struct      GtkCellRendererTextPixbuf;
GtkCellRenderer* gtk_cell_renderer_text_pixbuf_new
                                            (void);

Description

Details

struct GtkCellRendererTextPixbuf

struct GtkCellRendererTextPixbuf
{
  GtkCellRendererText parent;

  /*< private >*/
  GtkCellRendererPixbuf *pixbuf;
  GtkPositionType pixbuf_pos;
};


gtk_cell_renderer_text_pixbuf_new ()

GtkCellRenderer* gtk_cell_renderer_text_pixbuf_new
                                            (void);

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