RE: TreeView/Treestore
- From: "Huston, Bob" <rhuston mitre org>
- To: <mickael drean gmail com>, "Murray Cumming" <murrayc murrayc com>
- Cc: gtkmm-list gnome org
- Subject: RE: TreeView/Treestore
- Date: Tue, 4 Apr 2006 13:15:26 -0400
I've also had problems with move if the branch moving has children. I
am using an
older GTKmm however.
-----Original Message-----
From: gtkmm-list-bounces gnome org
[mailto:gtkmm-list-bounces gnome org] On Behalf Of Mickael DREAN
Sent: Tuesday, April 04, 2006 12:55 PM
To: Murray Cumming
Cc: gtkmm-list gnome org
Subject: Re: TreeView/Treestore
/i've saw it , but :
"source/ and /destination/ should be at the same level"
...
Murray Cumming a écrit :
> On Tue, 2006-04-04 at 18:36 +0200, Mickael DREAN wrote:
>
>> Hi there,
>>
>> I've done a TreeStore which allow drag and drop. But, i would like
to
>> know how to move rows (like drag and drop in a way) without user
>> interaction (just by calling a function)?
>>
>> This is what it's look like :
>>
>> Elem 1
>> SElem 11
>> SSElem 111
>> SSElem 112
>> SElem 12
>> SSElem 121
>> Elem2
>> SElem 21
>> ...
>>
>> I would like to move SElem 11 (for example) with its children to
Elem2
>> so SElem 21 become SElem 22 and SElem 11 become SElem 21.
>>
>
> TreeStore::move() looks like it does that:
>
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Tre
eStore.html#f1db9129be2cc296e701aa40aff7499c
>
>
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]