Buttons on an Image

Hi,

I need to create a main menu and want it to have a background image.
There will be some buttons on background image.
How can I do that?

Thanks.

Subclass wx.Panel, bind the wx.EVT_PAINT and just draw your image.

Remember to use a wx.BufferedPaintDC and to bind the
wx.EVT_ERASE_BACKGROUND to an empty event handler

···

On Mon, Mar 21, 2011 at 8:08 AM, Shansal <sansal.birbas@gmail.com> wrote:

Hi,

I need to create a main menu and want it to have a background image.
There will be some buttons on background image.
How can I do that?

Thanks.

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

--
There is NO FATE, we are the creators.
blog: http://damoc.ro/

Maybe this will help: http://www.blog.pythonlibrary.org/2010/03/18/wxpython-putting-a-background-image-on-a-panel/

···

On Mar 21, 1:08 am, Shansal <sansal.bir...@gmail.com> wrote:

Hi,

I need to create a main menu and want it to have a background image.
There will be some buttons on background image.
How can I do that?

Thanks.

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org