Re: Passing a GType to a native function from Perl
- From: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
- To: Torsten Schoenfeld <kaffeetisch gmx de>
- Cc: gtk-perl-list gnome org
- Subject: Re: Passing a GType to a native function from Perl
- Date: Mon, 14 Nov 2011 12:41:54 +0100
On Mon, Nov 14, 2011 at 11:33, Torsten Schoenfeld <kaffeetisch gmx de> wrote:
On 14.11.2011 09:23, Emmanuel Rodriguez wrote:
WebKit registers some "features" that I would like to remove from a
Perl script. I couldn't find a direct way to pass a GType or to
retrieve one from Perl without using XS. Is that possible?
G:O:Introspection has code to handle this in exactly the way you do in the
xsub:
<http://git.gnome.org/browse/perl-Glib-Object-Introspection/tree/gperl-i11n-marshal-arg.c#n83>
<http://git.gnome.org/browse/perl-Glib-Object-Introspection/tree/gperl-i11n-marshal-arg.c#n195>
Does that not work for you?
Now it does! I had a typo in the class name
Gtk3::WebKitSoupAuthDialog (bad) vs Gtk3::WebKit::SoupAuthDialog
(Good)
Thanks,
--
Emmanuel Rodriguez
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]