Re: Gtk2::Gdk::Drawable problem
- From: Domsodi Gergely <doome uhulinux hu>
- To: gtk-perl-list gnome org
- Subject: Re: Gtk2::Gdk::Drawable problem
- Date: Mon, 17 Nov 2003 21:19:03 +0100
Just one more question.
How to initalize a pixmap?
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
I think I should initalize GdkPixbuf, but I don't know what parameters
it needs. (eg. what kind of colorspace).
Shouldn't the above code work?
--
Domsodi Gergely / UHU-Linux
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]