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 = gtk.Window()
menu = 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.
<<attachment: MenuItem.jpg>>
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
