Forum und email

GtkCellView

A widget for displaying a single cell of a GtkTreeModel.

オブジェクトの階層

GObject
`-- GtkObject
       `-- GtkWidget
              `-- GtkCellView

Implemented Interfaces

説明

A GtkCellView displays a single row of a GtkTreeModel, using cell renderers just like GtkTreeView. GtkCellView doesn't support some of the more complex features of GtkTreeView, like cell editing and drag and drop.

The GtkCellView class is used in GtkComboBox which is therefore capable of displaying several columns of one model at once.

コンストラクタ

-- Creates a new GtkCellView widget.

-- Creates a new GtkCellView widget and adds a pixbuf renderer.

-- Creates a new GtkCellView widget and adds a text renderer.

メソッド

get_cell_renderers()
  Returns all cell renderers.
get_displayed_row()
  Returns the path of the row currently visible.
get_size_of_row()
  Returns the size needed to render the row.
set_background_color()
  Sets the background color of the view.
set_displayed_row()
  Sets the row of the model to display.
set_model()
  Set the model to display data from.