Op 14/05/2010 17:02, Smartboy het geskryf: > Specifically, I > am looking at giving switchButton a drop down menu. I implemented this for the main project I'm working on at the moment: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/virtaal/virtaal/views/widgets/popupbutton.py
The biggest issue I had was calculating the menu's position (relative to the button, see the _calculate_popup_pos() method), but it's mostly working. HTH, -- Walter Leibbrandt Software Developer Recent blogs: * Ubuntu PPA for Translate Toolkit and Virtaal http://www.translate.org.za/blogs/walter/en/content/ubuntu-ppa-translate-toolkit-and-virtaal _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
