Re: GtkMenu popup ?

From: Date: Thu, 12 Apr 2001 10:31:57 +0000
Subject: Re: GtkMenu popup ?
References: 1 2  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1354@lists.php.net to get a copy of this message
On Thu, Apr 12, 2001 at 08:01:39AM +0100, Steph wrote : > Hey hey Markus, I got an error message out of popup!!!!! > > It complained about not having a parent window. > > Show() in the same space worked .... > > I presume therefore that you need to set up parent/child > relationships somehow for popup to work. I've looked around a bit in the sources. The gtk+ function gtk_menu_popup is only in php-gtk/generate/gtk.defs but its not anywhere in php-gtk/src/php_gtk_gen_gtk.c . When $menu->popup() is called it's not gtk_menu_popup ( 6 parameters without the widget) but instead GtkWidget::popup seems to be called ( two parameters, x and y coordinates). Also, in function_entry php_gtk_menu_functions[] in php-gtk/src/php_gtk_gen_gtk.c there's no popup function mentioned. Andrei, can you comment on this ? cheers, Markus -- Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/ EMail: mfischer@josefine.ben.tuwien.ac.at PGP Public Key: http://josefine.ben.tuwien.ac.at/~mfischer/C2272BD0.asc PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0

« previous php.gtk (#1354) next »