RE: get size of drawing area
- From: "Riswick, J.G.A. van" <J G A v Riswick tue nl>
- To: "'Carl Edwards '" <cedwards vitesse com>, "'gtk-perl-list gnome org '" <gtk-perl-list gnome org>, "Riswick, J.G.A. van" <J G A v Riswick tue nl>
- Subject: RE: get size of drawing area
- Date: Sat, 15 Jun 2002 10:46:26 +0200
HI
Thanks, it works! I looked a lot in the documentation of both
gtk-perl and gtk (and gdk) but I couldn't figure out where to
get it. May I ask how/where you found it?
jos
-----Original Message-----
From: Carl Edwards
To: gtk-perl-list gnome org; J G A v Riswick tue nl
Sent: 6/15/2002 2:29 AM
Subject: Re: get size of drawing area
Here is a snipped of a callback I have:
sub drawable_leave_cb($$) {
my ($widget, $event) = @_;
my $width = $widget->allocation->[2];
my $height = $widget->allocation->[3];
/Carl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]