Hi,
I'd like to use deprecated OptionMenu, but I can't stop the
DeprecationWarning. Why is it different from a self produced one?
import gtk
try:
raise DeprecationWarning
except DeprecationWarning, e:
pass
try:
a = gtk.OptionMenu()
except DeprecationWarning, e:
pass
only the first one will be trapped. Why?
Is there a way to stop it?
sandro
*:-)
PS: the reason why I want to use OptionMenu is as per my other thread the
possibilityto add tooltips
--
Sandro Dentella *:-)
http://sqlkit.argolinux.orgSQLkit home page - PyGTK/python/sqlalchemy
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/