On 16 Mar 2002, Jens Luedicke wrote: > > Try compiling it with "perl -MInline=INFO,FORCE,NOCLEAN script.pl". > > You'll see a list of functions bound to Perl. My guess is that these two > > won't be in that list: > > No function gets bound.
Well, that's your problem! > > You'll need to provide a typemap for GtkWindowType and GtkWidget so that > > Perl will know how to map them to and from scalars. > > is there a way to generate such a file? No, you have to write it youself and then tell Inline::C about it with the TYPEMAPS option. See the perlxs and perlxstut docs that come with Perl for information about typemaps. -sam PS: Have you looked at the Gtk-Perl package on CPAN? It contains a Perl interface to most of Gtk and Gnome.
