Re: [pygtk] GtkMenu.popup() problems

2002-06-12 Thread James Henstridge
Christian Reis wrote: On Tue, Jun 11, 2002 at 04:10:41PM -0400, Edgar Denny wrote: def pos_func(): return 20, 20 menu.popup( None, None, pos_func, 0, 0) Then I get a segfault. I'm not entirely if I need to pass any parameters to the pos_func(). In fact, I think that there may be a bug

[pygtk] GtkMenu.popup() problems

2002-06-11 Thread Edgar Denny
I'm having difficulty in specifying the position of a popup GtkMenu in pygtk-1.99.10. If I have: menu = gtk.Menu() [snip] menu.popup( None, None, None, 0, 0) Then I have no problem, the menu pops up at the current mouse position. However, If I want to specify the position of the menu with: