Re: Moving rows in a TreeStore
- From: Murray Cumming <murrayc murrayc com>
- To: Paul Davis <pjdavis engineering uiowa edu>
- Cc: gtkmm-list gnome org
- Subject: Re: Moving rows in a TreeStore
- Date: Sat, 23 Sep 2006 11:53:54 +0200
On Fri, 2006-09-22 at 19:02 -0500, Paul Davis wrote:
> Hey,
>
> I've been going over the docs and mailing list archives for gtk and
> gtkmm. I can't for the life of me figure out how to move a row around
> a TreeStore. There are two 'move' type methods for TreeStore
> ( iter_swap and move ) but both of these require that the row must
> stay in the same level.
Yeah, I don't think there's any generic way to move rows between levels.
You might ask on gtk-list to be absolutely sure.
> If someone could show me how to simply make a row the child of a
> different row, I'd be able to get this to work I think.
>
> Its either figure this out, or write a recursive algorithm to start
> copying entire branches of a tree, which sounds like a good way to
> screw things up.
>
> Anyway, thanks in advance,
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]