Re: GtkMenu popup ? VOTE FOR THE MOUSE!
| From: | Steph | Date: | Thu, 12 Apr 2001 13:32:29 +0000 |
| Subject: | Re: GtkMenu popup ? VOTE FOR THE MOUSE! | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-1357@lists.php.net to get a copy of this message | ||
'ang abaht - how's it giving parameter error messages if it's not there???!!!!
IRC?
----- Original Message -----
From: "Markus Fischer" <mfischer@josefine.ben.tuwien.ac.at>
To: "Steph" <steph.fox@btinternet.com>
Cc: <php-gtk@lists.php.net>
Sent: Thursday, April 12, 2001 1:56 PM
Subject: Re: [PHP-GTK] GtkMenu popup ? VOTE FOR THE MOUSE!
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