Re: clearing a treeview
- From: Iago Rubio <iago rubio hispalinux es>
- To: gtk-app-devel-list gnome org
- Subject: Re: clearing a treeview
- Date: Sun, 01 May 2005 10:07:44 +0200
On Sat, 2005-04-30 at 16:56 +0200, GyÃzà Both wrote:
hello,
is there an easy one-line way to clear a treeview (so that adding new
content doesn't lead to the old content and the new one appearing side
by side)? currently i'm calling gtk_tree_view_remove_column for each
column; as far as i can remember, setting the model to NULL didn't work
:-/
gtk_tree_store_clear(
GTK_TREE_STORE(gtk_tree_view_get_model(treeview))
);
--
Iago Rubio
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]