Re: How to remove (unset) values from TreeModel



IIRC there's no clear method, so you need to set the row by yourself to
the default values you want, using one of the  gtk_tree_store_set*
functions, e.g.  gtk_tree_store_set_value()

you can write a simple clear_row() function which sets a given row
(pointed by treerow reference or treeiter or treepath) to your preferred
defaults.


Anatoly



On ג', 2013-06-04 at 16:43 +0400, Alexey Titov wrote:
Sorry for beginner's question... How can I remove values from row in
TreeStore or ListStore?. When tree row is created it contains no
values and it is displayed as blank, empty row. Is there any way to
clear cells again?

Thank you for answer.

_______________________________________________
gtk-list mailing list
gtk-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-list




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