logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: TreeView row reordering with DND?: msg#00251

Subject: Re: TreeView row reordering with DND?
On Tue, 2004-03-30 at 23:41, Zach Bean wrote:

> We've got a TreeView (using TreeStore as the model), and we've enabled
> reordering with $treeview->set_reorderable(1).        This works just fine: 
> it allows
> us to drag the rows around wherever we want.  We'd like to execute a callback
> whenever this happens to update the tree structure on disk so that the rows
> will stay in the same order between executions of the program.

In addition to what muppet said, you might also want to look into using
the rows-reordered signal instead.

Bye,
-Torsten


<Prev in Thread] Current Thread [Next in Thread>