Re: GtkMenu popup ? VOTE FOR THE MOUSE!
| From: | Markus Fischer | Date: | Thu, 12 Apr 2001 12:56:27 +0000 |
| Subject: | Re: GtkMenu popup ? VOTE FOR THE MOUSE! | ||
| References: | 1 2 3 4 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-1356@lists.php.net to get a copy of this message | ||
On Thu, Apr 12, 2001 at 12:25:20PM +0100, Steph wrote :
> GtkMenuShell and all its followers should/do inherit this
> method from GtkWidget in php-gtk. GtkItemFactory has its own
> version. I think you got your several parameters from the gtk
> manual? Are you using GtkMenu or are you using GtkItemFactory
> at this point? My "result" (ie an error message *actually
> mentioning popup by name*!) came through GtkItemFactory; I
> haven't experimented with GtkMenu at all yet. GtkItemFactory's
> popup definitely only has 2 parameters.
I got the parameters from the gtk+ API doc.
I haven't used GtkMenuSheel or Factory yet; only GtkMenu. I had
to patch cvs sources to get GtkMenu::popup() working; its not yet
done. But works nice.
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