On Fri, Jun 8, 2012 at 12:54 PM, Williams, James P2 (N-UNITED SPACE ALLIANCE, LLC) <james.p2.willi...@lmco.com> wrote: > I've done lots of XS, and can help if you need it. Here are the resources I > used to learn it, the first two being the most helpful. They're listed in > order, from gentlest to most blood-curdling. Nah, it's not so bad. > > http://world.std.com/~swmcd/steven/perl/pm/xs/intro/index.html > http://www.amazon.com/Extending-Embedding-Perl-Tim-Jenness/dp/1930110820 > http://www.johnkeiser.com/perl-xs-c++.html > perlxstut > perlxs > > Good luck. > > Jim > >> -----Original Message----- >> From: gtk-perl-list-boun...@gnome.org [mailto:gtk-perl-list- >> boun...@gnome.org] On Behalf Of Dave M >> Sent: Friday, June 08, 2012 10:21 AM >> To: gtk-perl mailing list >> Subject: Re: Can't locate object method "add_actions"... >> >> On Fri, Jun 8, 2012 at 10:14 AM, Torsten Schoenfeld <kaffeeti...@gmx.de> >> wrote: >> > On 08.06.2012 16:57, Dave M wrote: >> >> >> >> I'll give it a shot. >> > >> > >> > That's the spirit! :-) >> > >> > >> >> Be warned that this will be my first run-in with the demon known as >> >> XS, so it might not be pretty. >> > >> > >> > The pygobject override might be a place to start, if Python is more >> familiar >> > to you: >> > >> > <http://git.gnome.org/browse/pygobject/tree/gi/overrides/Gtk.py#n124> >> > >> > But I notice that this implementation is less complete than our old XS >> > implementation: it lacks the translation and accelerator handling. >> > >> > _______________________________________________ >> >> No, definitely more familiar with Perl. I've already started, but it >> might take me a little time, especially since I'll be at YAPCNA next >> week. >> >> This looks useful for XS: >> http://search.cpan.org/dist/perl/pod/perlguts.pod >> >> Thanks, >> Dave M >> _______________________________________________ >> gtk-perl-list mailing list >> gtk-perl-list@gnome.org >> https://mail.gnome.org/mailman/listinfo/gtk-perl-list
Ok, here's a first attempt. Most everything works, but there's one bug I haven't solved - the radio_actions signal_connect is on hyper mode for some reason. Any pointers as to why is appreciated. Anyway, the tar.gz contains a diff, the Gtk3.pm, and a Gtk3 version of UI Manager for testing. The uimanager.pl is set to use the Gtk3 from the current directory (with use lib '.') and to be easily added to a future Perl version of gtk3-demo. Feedback is more than welcome. Thanks, Dave M
add_actions.tar.gz
Description: GNU Zip compressed data
_______________________________________________ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list