HI group
Can someone throw light on how to make skin for wxpython.
if not yet implemented ... lemme me know i put my hand into the
developers heaven
Raj
HI group
Can someone throw light on how to make skin for wxpython.
if not yet implemented ... lemme me know i put my hand into the
developers heaven
Raj
What do you mean by a "skin"?
Recall that the goal of wxPython is to use the windowing platform's
own native widgets. If you want widgets in your application to look
different to the rest of the user's application widgets, that rather
defeats the purpose of using native widgets.
If you mean that you want to change cosmetic styles on the widgets,
surely it makes sense to use the platform's own mechanism for changing
native widget styles?
On 08-Jun-2005, Raj Shaz wrote:
Can someone throw light on how to make skin for wxpython.
--
\ "Time flies like an arrow. Fruit flies like a banana." -- |
`\ Groucho Marx |
_o__) |
Ben Finney <ben@benfinney.id.au>
hi Ben
If you mean that you want to change cosmetic styles on the widgets,
surely it makes sense to use the platform's own mechanism for changing
native widget styles?
Yes definitly by skins i mean a image files - embeded with XML (or
something alike...as in the case of Winamp/XMMS). but i dont think
that it is platform dependent .. should it be?. more over in the demo
of wxpython has a example which shows the penguine window ( without
any control) now i was wondering how to implement to have all other
stuffs of window like the static.text / buttons ...etc
im suprised to know no one has implemented it. I know itz stupid from
programmers point of view ... and frankly i feel itz waste of time.
But u r help less if the end user demands
-Raj
--
\ "Time flies like an arrow. Fruit flies like a banana." -- |
`\ Groucho Marx |
_o__) |
Ben Finney <ben@benfinney.id.au>BodyID:11965182.2.n.logpart (stored separately)
Raj Shaz wrote:
hi Ben
If you mean that you want to change cosmetic styles on the widgets,
surely it makes sense to use the platform's own mechanism for changing
native widget styles?Yes definitly by skins i mean a image files - embeded with XML (or
something alike...as in the case of Winamp/XMMS). but i dont think
that it is platform dependent .. should it be?. more over in the demo
of wxpython has a example which shows the penguine window ( without
any control)
Take a look at the source. It is just a wx.Frame with a shape applied and whose EVT_PAINT handler draws an image. That's a *long* way from a skinning engine. All the primitives are there so such an engine could theoretically be done for wxPython, but that would mean creating generic versions of all of the controls that supported having a skin applied to them because the native controls will certainly not support it.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!