Re: wxPython listctrl

2008-03-31 Thread Gif
thanks Mike, i'll post there. -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython listctrl

2008-03-31 Thread Mike Driscoll
On Mar 29, 4:27 pm, Gif <[EMAIL PROTECTED]> wrote: > I was wondering if there is a way to extract an icon from a file > (executable) and then add it in a listctrl. I also 'd like to know if > i can shorten the icon in order to fit in a listctrl item. > I've managed to get the icon from an icon file

wxPython listctrl

2008-03-29 Thread Gif
I was wondering if there is a way to extract an icon from a file (executable) and then add it in a listctrl. I also 'd like to know if i can shorten the icon in order to fit in a listctrl item. I've managed to get the icon from an icon file and add t as a listctrl item but it remains 32x32. code:

Re: wxPython ListCtrl image configuring

2007-11-08 Thread kyosohma
On Nov 8, 5:45 am, [EMAIL PROTECTED] wrote: > Hello, > > Here is example of my ListCtrl items with image: > > ( filebox1 is ListCtrl ) > > il = wx.ImageList(16,16) > images=["file1.png","folder.png"] > for i in images: > il.Add(wx.Bitmap(i)) > img_list=fi

wxPython ListCtrl image configuring

2007-11-08 Thread vedrandekovic
Hello, Here is example of my ListCtrl items with image: ( filebox1 is ListCtrl ) il = wx.ImageList(16,16) images=["file1.png","folder.png"] for i in images: il.Add(wx.Bitmap(i)) img_list=filebox1.SetImageList(il, wx.IMAGE_LIST_SMALL) j=1

Re: wxPython ListCtrl

2007-11-05 Thread kyosohma
On Nov 5, 11:00 am, [EMAIL PROTECTED] wrote: > Hello, > > How can I Insert image with string in ListCtrl with this example: > > # Import ftputil module - like ftplib > from ftputil import FTPHost > # Create connection > ftp=FTPHost("ftp.someserver.com","user","password") > > # LIST ALL FILES/FOLDER

wxPython ListCtrl

2007-11-05 Thread vedrandekovic
Hello, How can I Insert image with string in ListCtrl with this example: # Import ftputil module - like ftplib from ftputil import FTPHost # Create connection ftp=FTPHost("ftp.someserver.com","user","password") # LIST ALL FILES/FOLDERS ON SERVER for item in ftp._dir("/"): # Now check if

Re: wxPython - ListCtrl ColumnSorterMixin sometimes works sometimes doesn't!

2007-07-09 Thread kyosohma
On Jul 7, 7:55 am, Steve Senior <[EMAIL PROTECTED]> wrote: > Hi, > > My application has a tree control in which a user can select a filter. > This filter is then applied to the results and the results are > constructed in the ListControl (report style) widget. > > This all works fine. > > Recently

wxPython - ListCtrl ColumnSorterMixin sometimes works sometimes doesn't!

2007-07-07 Thread Steve Senior
Hi, My application has a tree control in which a user can select a filter. This filter is then applied to the results and the results are constructed in the ListControl (report style) widget. This all works fine. Recently I added the wx.lib.mixins.listctrl.ColumnSorterMixin mixin to the ListC

Re: Newbie wxPython ListCtrl Question

2005-11-16 Thread Todd7
Thank you very much. That is exactly what I needed. limodou <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > 2005/11/17, Todd7 <[EMAIL PROTECTED]>: >> I am new to python and to wxWindows. I have tried searching google, >> reading the documentation and trying to figure out some of the >>

Re: Newbie wxPython ListCtrl Question

2005-11-16 Thread limodou
2005/11/17, Todd7 <[EMAIL PROTECTED]>: > I am new to python and to wxWindows. I have tried searching google, > reading the documentation and trying to figure out some of the examples, > but I am stumped as to how to get information out of a listctrl at a > certain row and column. I tried to write

Newbie wxPython ListCtrl Question

2005-11-16 Thread Todd7
I am new to python and to wxWindows. I have tried searching google, reading the documentation and trying to figure out some of the examples, but I am stumped as to how to get information out of a listctrl at a certain row and column. I tried to write a simple example to learn to work with the