Re: TreeViewColumn error



Jens Wilke <jens wilke org> writes:

Hi,

gtk2-perl 0.12:

TreeViewColumn->new_with_attributes works fine, but

# $tree->append_column(Gtk2::TreeViewColumn->new());

causes the following error, only the triangles are displayed, but any text in 
the whole tree:

Gtk-CRITICAL **: file gtktreeviewcolumn.c: line 2288 
(gtk_tree_view_column_cell_set_cell_data): assertion `tree_column->cell_list 
!= NULL' failed

Is there any way to get a column without header line?

Pass "undef" as the first arg of new_with_attributes and call:

    $tree->set_headers_visible(0);

-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]