Constructor

GtkCellViewnew_with_pixbuf

since: 2.6

Declaration [src]

GtkWidget*
gtk_cell_view_new_with_pixbuf (
  GdkPixbuf* pixbuf
)

Description [src]

Creates a new GtkCellView widget, adds a GtkCellRendererPixbuf to it, and makes it show pixbuf.

Available since: 2.6

Parameters

pixbuf

Type: GdkPixbuf

The image to display in the cell view.

The data is owned by the caller of the function.

Return value

Type: GtkWidget

A newly created GtkCellView widget.

The data is owned by the called function.