On Monday, September 1, 2003, at 09:10 AM, Sylvain Daubert wrote:
attach a file containing gnome_popup_menu_new function (it seems this file doesn't exist in Gnome2-Perl).
try the attached file[1]. i couldn't figure out quite how to pass the user data through in a way that would be expected without completely re-implementing all of those functions in the bindings, so the code simply spits out a message if you pass anything other than undef (or zero) for user_data in most instances. aside from the constructors, which are Gnome2::PopupMenu->new*, the other functions are mapped as methods of Gtk2::Menu.
if somebody will send me some example code that uses these functions and prove that they work, then i'll commit this file to cvs.
as a nagging reminder, the Gnome2 module needs a maintainer!!
Attachment:
GnomePopupMenu.xs
Description: Binary data
[1] drop it into the Gnome2/xs directory, then re-run Makefile.PL and do 'make all test install'. (you must re-run Makefile.PL in order to pick up the new file.)