Re: GtkTreeView::set_model(null) not working?
| From: | Andrei Zmievski | Date: | Sat, 27 Jan 2007 19:29:10 +0000 |
| Subject: | Re: GtkTreeView::set_model(null) not working? | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-3602@lists.php.net to get a copy of this message | ||
What do you mean set_model(null) doesn't work? I just tested it and it unset the model from the view fine.
-Andrei
On Jan 11, 2007, at 10:51 AM, ecc wrote:
Hi, i´ve build a application with to view-modes in one gtkTreeView... a list-mode and a detail mode. If i want initialize the treeview, i cant do that with NULL (as described in the documentation). I need this, because i have a button to toggle between this two modes. Is there a way to full reset the treeview + model, so i can refill the empty treeview from the scratch. Now i have to restart my program. :-( Regards, Andreas --View this message in context: http://www.nabble.com/GtkTreeView%3A%3Aset_model%28null%29-not-working--tf2960076.html#a8281198 Sent from the Php - GTK - Dev mailing list archive at Nabble.com. --PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php