Re: Gtk2::Gdk::Drawable problem
- From: brucealderson shaw ca
- To: Domsodi Gergely <doome uhulinux hu>
- Cc: gtk-perl-list gnome org
- Subject: Re: Gtk2::Gdk::Drawable problem
- Date: Mon, 17 Nov 2003 12:42:42 -0800
I tried:
my $pixmap = Gtk2::Gdk::Pixmap->get_from_drawable($drawable,undef,
0, 0,
0, 0, $width, $height);
but it doesn't work:
variable is not of type Gtk2::Gdk::Pixbuf
This doesn't answer your question, but may help ...
You can try the Data::Dumper module from CPAN, which is quite useful for peeking at the data types returned
by the Gtk2 stuff. It allows you to print returned references in a useful way
(http://search.cpan.org/dist/Data-Dumper/Dumper.pm) ... which should show you what that particular API
returns.
Cheers,
--
Bruce Alderson <mx warpedvisions org>
http://warpedvisions.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]