Get coordinates of a cell

Teja tejovathi.p at gmail.com
Thu Oct 26 05:00:46 EDT 2006


I have a GUI application with a Frame and a grid in it. I want to popup
a menu after the user enters some text in a cell and hits ENTER key. I
was able to popup the menu. However the menu is not popping up exactly
at the position where I want it. It should be popped up immediately
after the cell in which the user has entered the text. To get the co
ordinates I am using the function event.GetPosition(). Here event is
wx.EVT_KEY_DOWN. Any pointers please?




More information about the Python-list mailing list