Re: Add a wx.lib.gizmos.TreeListCtrl

"Brendan Simon (eTRIX)" <[email protected]>
Newsgroups gmane.comp.python.wxglade
Organization eTRIX pty ltd
Message-ID <[email protected]>
The only other thing I can think of is to create a vertical sizer, and
dynamically add ListCtrl widgets to the sizer as I load files.  I don't
get the ability for the user to collapse any of the sizers.  I would
need to ensure the frame is large enough and/or the region is scrollable.

Brendan.

------------------------------------------------------------------------

On 16/5/19 3:13 pm, Brendan Simon (eTRIX) wrote:
> I have an app that uses `wx.ListCtrl`.  I want to enhance the app so
> that I can have multiple `wx.ListCtrl` widgets inside a tree.  I want
> to be able to load multiple configuration files as python objects,
> store the objects in a list, and display the object fields in a tree
> of ListCtrls.
>
> The `wx.lib.gizmos.TreeListCtrl` would seem like a good solution,
> howeverr `TreeListCtrl` isn't supported by wxglade as best I can tell.
>
> In the demo, the events used seem to be TREE type events, rather than
> LIST type events.  Should I setup a TreeCtrl in wxglade, and modify
> the Class to be TreeListCtrl instead of wxTreeCtrl?  Will that work?
>
> Or am I better off adding a "custom widget" ?
>
> If wxglade was to supporrt TreeListCtrl, would it be best to have an
> individual icon, or use the Tree (and/or List) icon but have some
> setting to choose the TreeList variant.
>
> Thanks,
> Brendan.

_______________________________________________
wxGlade-general mailing list
wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/wxglade-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.