[wxPython-users] can't understand how to display images in wx python.

Werner F. Bruhin werner.bruhin at free.fr
Sun Mar 18 09:11:40 PDT 2007


Hi Krishnakant,

krishnakant Mane wrote:
> hello,
> I want to know which control can be used for displaying images in wx 
> python?
> I have a software requirement that needs me to show photos like an album.
> I have an area where the photo will be displayed and below that there
> will be information in read-only wx edit boxes, or static text.
> now when I click next, the next photo is displayed according to the 
> database.
> can some one tell me how to display images (photos ) in a wx python 
> application?
> some example will be highly appreciated.
Have a look in the wxPython demo under the section Using Images.

You could use a wx.StaticBitMap or a wx.PaintDC or ...

You might also want to look at the wiki:
http://wiki.wxpython.org/?action=fullsearch&context=180&value=images&titlesearch=Titles

Werner




More information about the wxpython-users mailing list