Re: Bug in GtkTreeView or programming bug?

2009-09-18 Thread Daniel Leidert
Am Freitag, den 18.09.2009, 21:44 +0200 schrieb Kristian Rietveld: > On Fri, Sep 18, 2009 at 6:22 PM, Daniel Leidert > wrote: > > Thanks for your hints. Yes, the code was incomplete. But I think the > > attached code should work. It still returns: > > > > (:20960): Gtk-CRITICAL **: gtk_tree_path_t

Re: Bug in GtkTreeView or programming bug?

2009-09-18 Thread Kristian Rietveld
On Fri, Sep 18, 2009 at 6:22 PM, Daniel Leidert wrote: > Thanks for your hints. Yes, the code was incomplete. But I think the > attached code should work. It still returns: > > (:20960): Gtk-CRITICAL **: gtk_tree_path_to_string: assertion > `path != NULL' failed > path=(null) > > Am I still doing

Re: Bug in GtkTreeView or programming bug?

2009-09-18 Thread Daniel Leidert
Am Freitag, den 18.09.2009, 13:23 +0200 schrieb Kristian Rietveld: > On Wed, Sep 16, 2009 at 10:56 PM, Daniel Leidert > wrote: > >> Doh! Attached. > > The program in the attachment tries to set the cursor on a path that > does not exist in the tree view. This path does not exist in the > view, b

Setting data in a Treeview cell

2009-09-18 Thread dhk
How can I set the data in a treeview cell when going from data entry to clicking a button? When I click off the cell being edited, but the click is somewhere inside the treeview I can set the data. However, when the mouse clicks an object outside the treeview the data in the cell is lost. So bas

Re: Bug in GtkTreeView or programming bug?

2009-09-18 Thread Kristian Rietveld
On Wed, Sep 16, 2009 at 10:56 PM, Daniel Leidert wrote: >> Doh! Attached. The program in the attachment tries to set the cursor on a path that does not exist in the tree view. This path does not exist in the view, because the view is not connected to a model. Because of this, the call to gtk_tr