Forum und email

GtkTreeView::append_column

int append_column(GtkTreeViewColumn column);

Appends a column at the end (i.e. the most right place) of the view.

例 133. Appending a column to a tree view

$renderer = new GtkCellRendererText();
$column = new GtkTreeViewColumn('Title', $renderer, 'text', 0);
$treeview->append_column($column);

参照: get_column() , insert_column() , remove_column()