Hi all,
I want to build an image slider in wxpython, with a preview of the images on one side. I saw some examples in the internet and I am trying to put together the widgets, but I have found some difficulties to manage, so I decided to ask for help.
I have found this example [0] that could be applied in my case for the preview of images stored in a folder, and [1] to display the selected image. The image to be displayed should be selected from the preview with a mouse click.
So what I thought is to use a main frame (wx.Frame) containing the widgets, a wx.Listbook for sliding the preview images and a wx.Panel to visualize the selected image. Am I on the right way? Does anyone have more examples for me?
I have found difficulties in using the sample code of Demo (listbook.py), because it imports
import ColorPanel
import images
so when I try to change the code in order to analyze/customize it, I get error:
import ColorPanel
ImportError: No module named ColorPanel
where does ColorPanel come from?
Thanks for any suggestion,
madi
[0] http://wiki.wxpython.org/Listbook
[1] http://www.blog.pythonlibrary.org/2010/03/26/creating-a-simple-photo-viewer-with-wxpython/