[wxPython] More Newbie Qs...

I have come to a few deadends. Any help would be appreciated...

1. How do you disable (i.e. "grey out", deactivate) a menu item?

2. I keep receiving an error when I send a (Windows) bitmap file (e.g.
star.bmp) to the tool bar. The error message indicates it is in the wrong
format. What massaging of the file needs to be performed to make wxPython
happy?

3. Can wxPython display Unicode on Windows? I am having trouble finding
documentation on this. I also would like to directly be able to display
Japanese characters in S-JIS.

4. Is there a good example program out there that has a "full-blown" GUI?
I am particularly interesting in have many outline panels with labels and
data display fields.

5. Is there a standard place out there to grab the default Windows graphics
for a toolbar?

6. Are there any printed wxPython books in the works? I have a lot of
trouble pulling all of the information I need together online. I have
obviously surpassed the couple of printed chapters that are included in
currently existing Python books.

7. How hard is it to port my wxPython code to a Mac? Is it even possible
yet?

8. Are there any attempts being made at having wxPython included in the
Standard Library Modules of Python?

9. Do most people leave their work horse code mixed in the same file as
their wxPython code, or do they tend to keep it separated in a different
file?

10. What are Guido's opintions of wxPython (good and bad)?

THANKS!!!!
Todd

I have come to a few deadends. Any help would be appreciated...

1. How do you disable (i.e. "grey out", deactivate) a menu item?

menu.Enable(itemID, false) or menuBar.Enable(itemID, false)

2. I keep receiving an error when I send a (Windows) bitmap file (e.g.
star.bmp) to the tool bar. The error message indicates it is in the wrong
format. What massaging of the file needs to be performed to make wxPython
happy?

what exactly is the error message and on which wxPython class/method does it
occur?

3. Can wxPython display Unicode on Windows? I am having trouble finding
documentation on this.

If you convert it to a supported encoding and use a font on the the system
that also has support for that encoding then it should work. As mentioned
already 2.3.2 will have wxFontMapper which should help too.

I also would like to directly be able to display
Japanese characters in S-JIS.

I don't know about this.

4. Is there a good example program out there that has a "full-blown" GUI?
I am particularly interesting in have many outline panels with labels and
data display fields.

5. Is there a standard place out there to grab the default Windows

graphics

for a toolbar?

Go to google and search for free icons. There are a number of free
colelctions out there.

6. Are there any printed wxPython books in the works?

I'm working on one on and off as I need a break from other things. There is
also the wxPyWiki at http://wxpython.org/cgi-bin/wiki which I would
encourage everybody to contribute to, even newbies! As you firgure out
something that you think would be helpful to other newbies then add an item
to the FAQ or the Cookbook so others don't hav eto go through the same pain.

7. How hard is it to port my wxPython code to a Mac? Is it even possible
yet?

I'm working on it.

8. Are there any attempts being made at having wxPython included in the
Standard Library Modules of Python?

It's been suggested and wished for a number of times by a number of Python
users, but if/when the rubber meets the road I expect that there will be a
lot of opposition to doubling or tripling the size of the distribution

9. Do most people leave their work horse code mixed in the same file as
their wxPython code, or do they tend to keep it separated in a different
file?

10. What are Guido's opintions of wxPython (good and bad)?

A couple years ago he was "pleasantly surprised." I havn't heard of any
comments from him lately.

ยทยทยท

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!