I have a wx.TreeCtrl which I need to incorporate some custom transparent icons. I don't want to drag image
files around, so I'm looking to create images and store them in the code, like in demos/images.py or the mondrian
image in demo/AUI_DockingWindowMgr.py.
The question is: how do I do this? I don't even know where to begin. I don't understand the process
flow. Image editor->png->serialize->???
Any help getting me off the ground would be appreciated including open source tools to do the image creation.
I have a wx.TreeCtrl which I need to incorporate some custom transparent icons. I don't want to drag image
files around, so I'm looking to create images and store them in the code, like in demos/images.py or the mondrian
image in demo/AUI_DockingWindowMgr.py.
The question is: how do I do this? I don't even know where to begin. I don't understand the process
flow. Image editor->png->serialize->???
Any help getting me off the ground would be appreciated including open source tools to do the image creation.
There is a img2py script included with wxPython, (img2py.bat on Windows.) It uses the modules in the wx.tools package.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
Next stupid question: what tool would you use to create the bitmap in the first place?
D
···
At 03:26 PM 1/11/2007 -0800, you wrote:
Danny Shevitz wrote:
Howdy again,
I have a wx.TreeCtrl which I need to incorporate some custom transparent icons. I don't want to drag image
files around, so I'm looking to create images and store them in the code, like in demos/images.py or the mondrian
image in demo/AUI_DockingWindowMgr.py.
The question is: how do I do this? I don't even know where to begin. I don't understand the process
flow. Image editor->png->serialize->???
Any help getting me off the ground would be appreciated including open source tools to do the image creation.
There is a img2py script included with wxPython, (img2py.bat on Windows.) It uses the modules in the wx.tools package.
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
Next stupid question: what tool would you use to create the bitmap in the first place?
Any number of icon/image editors -- there are a million of them. I find kicon easy to use on Linux.
-Chris
···
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
You can also do it using wx itself, of course. I even seem to think
that img2py or some other helper script does that. If it doesn't, it
could be modified to do so pretty easily.
···
On 1/11/07, Christopher Barker <Chris.Barker@noaa.gov> wrote:
Danny Shevitz wrote:
> Next stupid question: what tool would you use to create the bitmap in
> the first place?
Any number of icon/image editors -- there are a million of them. I find
kicon easy to use on Linux.