Re: Sort items in wxListCtrl

2011-11-02 Thread Miki Tebeka
You probably want wx.EVT_LEFT_DCLICK, see the ListCtrl demo in the wx demo. -- http://mail.python.org/mailman/listinfo/python-list

Re: Sort items in wxListCtrl

2011-11-02 Thread Ric
On Wed, 2 Nov 2011 08:08:48 -0700 (PDT), Miki Tebeka wrote: >wx.FileDialog shows files and directories. If you need the user to pick one, >this is the standard way. Otherwise, if you need custom view on the file >system then probably list control is the right way to go. Again, the demo has >a

Re: Sort items in wxListCtrl

2011-11-02 Thread Miki Tebeka
wx.FileDialog shows files and directories. If you need the user to pick one, this is the standard way. Otherwise, if you need custom view on the file system then probably list control is the right way to go. Again, the demo has a working example with sortable list control. -- http://mail.python

Re: Sort items in wxListCtrl

2011-11-01 Thread Ric
On Tue, 1 Nov 2011 16:14:50 -0700 (PDT), Miki Tebeka wrote: >Why not use the build in wx.FileDialog? > >Also, have a look at the demo that comes with wxPython. It has an example with >a sortable list control. Thanks for responding, How would wx.FileDialog help me in this case? I am trying to di

Re: Sort items in wxListCtrl

2011-11-01 Thread Miki Tebeka
Why not use the build in wx.FileDialog? Also, have a look at the demo that comes with wxPython. It has an example with a sortable list control. -- http://mail.python.org/mailman/listinfo/python-list