Re: Creating bindings for GtkImageViewer
- From: Paolo Molaro <lupus debian org>
- To: gtk-perl-list gnome org
- Subject: Re: Creating bindings for GtkImageViewer
- Date: Tue, 19 Dec 2000 10:24:01 +0100
On 12/19/00 dov imagic weizmann ac il wrote:
and I no longer get the error "unable to convert GtkObject..." but get
a new error:
image = Gtk::ImageViewer=HASH(0x1f3918)
variable is not of type Gtk::Widget at ./test.pl line 33.
The gendefs tool also creates a build/GtkImageViewerTypes.pm file
that you should require within GtkImageViewer.pm.
Basically, it will contain something like:
@Gtk::ImageViewer::ISA = qw(Gtk::Widget);
or whatever type Gtk::ImageViewer is directly derived from.
Also, you don't need the
sub dl_load_flags {0x01}
in GtkImageViewer.pm unless you are going to build other
XS modules that will require C functions from this one.
lupus
--
-----------------------------------------------------------------
lupus debian org debian/rules
lupus helixcode com Monkeys do it better
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]