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




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