[pygtk] Increasing memory usage of GtkTreeView/GtkTreeModel

2008-03-18 Thread Mitko Haralanov
I have an application which has a GtkTreeView widget. Every so often (usually two minute intervals), the application does a refresh of the content of the TreeView. The refresh code, gets the TreeModel by calling the get_model() method, then does a model.clear(), and after that re-fills the model

[pygtk] Changing a style property of TreeView

2008-03-18 Thread Jeffrey Barish
I would like to change the style property indent-expanders of a TreeView. Following the example of FAQ 4.18, I put the code: rcstring = style treeview-style { GtkTreeView::indent_expanders = 0 } class GtkTreeView style treeview-style gtk.rc_parse_string(rcstring) at the top of the