[pygtk] Bug w/ MenuItem on Vista?

Maximilian Wilson wilson.max at gmail.com
Fri Jan 4 16:34:20 WST 2008


Hi,

I've been having some trouble with MenuItem. When I create a simple
PyGTK application with a MenuBar and one MenuItem, there's a graphical
glitch: clicking on "Item" produces a white square. Screen shot
attached; source code follows.

I'm running PyGTK 2.12.3-1 on Vista. I'd like to know if anyone else
has, or hasn't, seen this problem on different OSes and/or versions so
I can narrow down what's wrong with my system. Any help would be
appreciated.

-Max

import pygtk
pygtk.require('2.0')
import gtk

win =3D gtk.Window()
menu =3D gtk.MenuBar()
menu.append(gtk.MenuItem("Item"))
menu.show_all()
win.add(menu)
win.show_all()
win.connect('delete-event', gtk.main_quit)
gtk.main()

-- =

"The presentation or 'gift' of the Holy Ghost simply confers upon a
man the right to receive at any time, when he is worthy of it and
desires it, the power and light of truth of the Holy Ghost, although
he may often be left to his own spirit and judgment." --Joseph F.
Smith (manual, p. 69)

Be pretty if you are,
Be witty if you can,
But be cheerful if it kills you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MenuItem.jpg
Type: image/jpeg
Size: 5771 bytes
Desc: not available
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20080103/7e16ca95/M=
enuItem.jpg


More information about the pygtk mailing list