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

Sort items in wxListCtrl

2011-11-01 Thread Ric
I am trying to create a small application in wxPython and would like to ask for some help. I am trying to display folders and files in ListCtrl but sorted first folders followed by files (like in a file manager style) but not sure how to do this? Would I need to do this in code somehow or ListCt

Drag&Drop in wxListCtrl

2005-08-29 Thread [EMAIL PROTECTED]
Hi, I have to create a ListBox in which I have to move items up and down using DnD. How to create drag and drop call backs in wxListCtrl. I can see EVT_LIST_BEGIN_DRAG but I could not find any EVT_LIST_END_DRAG. So, how can I achieve DnD with ListCtrl? Thanks in advance for the suggestions

Re: wxpython wxlistctrl with combo

2005-06-14 Thread Franz Steinhaeusler
On Mon, 13 Jun 2005 21:05:09 GMT, "Fabio Pliger" <[EMAIL PROTECTED]> wrote: >Hi all, >i'm working on a very large project using wx 2.5... On one frame i have a >wx.lib.mixins.listctrl widget, wich is a listctrl extended with the >possibility to edit the columns text entrys Anyone know if it's

wxpython wxlistctrl with combo

2005-06-13 Thread Fabio Pliger
Hi all, i'm working on a very large project using wx 2.5... On one frame i have a wx.lib.mixins.listctrl widget, wich is a listctrl extended with the possibility to edit the columns text entrys Anyone know if it's possible (or if there's a widget...) to have also the possbility to have a comboB

Re: WxListCtrl

2004-12-26 Thread Kartic
You might want to try using the SetColumnWidth method and give the column width in pixels. The user (or you) can the read the entire contents by dragging the column marker to the right (or you can give a tooltip that displays the entire list control item when the moused over) self.lc.SetColumnWidt

WxListCtrl

2004-12-26 Thread LutherRevisited
Is there any way I can disable just the horizontal scroll bar for a listctrl? When enough items have been added for it to scroll vertically a horizontal bar also appears, even though you don't need it at all. I've played around with sizing individual columns and haven't seemed to come up with any