[GRASS-dev] WxTreeCtrl multiple selection

Hi,

I am using WxTreeCtrl. In the displayed tree. some elements (text strings or map layers ) are displayed.

Currently, user can select one element in the displayed tree. I want to add multiple selection of elements(if that is possible).

Does someone has an idea of how to do this or if it is possible to do ? I am not being able to figure it out.

thanks
Sudeep

2011/7/21 Sudeep Singh <sudeep495@gmail.com>:

I am using WxTreeCtrl. In the displayed tree. some elements (text strings or
map layers ) are displayed.
Currently, user can select one element in the displayed tree. I want to add
multiple selection of elements(if that is possible).
Does someone has an idea of how to do this or if it is possible to do ? I am
not being able to figure it out.

style = wx.TR_MULTIPLE [1].

Martin

[1] http://docs.wxwidgets.org/stable/wx_wxtreectrl.html#wxtreectrl

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

Thanks Anna and Martin. I am having some issues, even after TR_MULTIPLE it is not behaving properly. Need to see it documentation more properly.

Regards
Sudeep

On Thu, Jul 21, 2011 at 4:39 PM, Martin Landa <landa.martin@gmail.com> wrote:

2011/7/21 Sudeep Singh <sudeep495@gmail.com>:

I am using WxTreeCtrl. In the displayed tree. some elements (text strings or
map layers ) are displayed.
Currently, user can select one element in the displayed tree. I want to add
multiple selection of elements(if that is possible).
Does someone has an idea of how to do this or if it is possible to do ? I am
not being able to figure it out.

style = wx.TR_MULTIPLE [1].

Martin

[1] http://docs.wxwidgets.org/stable/wx_wxtreectrl.html#wxtreectrl


Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa