[pygtk] The "row-changed" in gtk.TreeModel Signal
David M. Cook
dave at davidcook.org
Tue Aug 8 05:42:34 WST 2006
On Mon, Aug 07, 2006 at 09:10:26AM -0700, Shehnaaz Kagdi wrote:
> 2) Whenever this happens -
> self.liststore.append(["john","smith",
> "blabla","bla"])
> I would like the treeview to display the latest
> data/row in the liststore
You shouldn't need to call row_changed after an append. Is your treeview
not getting updated after an append?. In your case, you would only need to
do that only if, say, you kept a reference to the the list, e.g.
l = ["john", ...]
and changed it via the reference "behind the ListStore's back", e.g.
l[0] = "bob"
Dave Cook
More information about the pygtk
mailing list