Gtk2::Gdk::Rectangle

Section: User Contributed Perl Documentation (3)
Updated: 2008-05-05
Index Return to Main Contents
 

NAME

Gtk2::Gdk::Rectangle  

HIERARCHY

  Glib::Boxed
  +----Gtk2::Gdk::Rectangle

 

METHODS

 

rectangle = Gtk2::Gdk::Rectangle->new ($x, $y, $width, $height)

* $x (integer)
* $y (integer)
* $width (integer)
* $height (integer)
 

integer = $rectangle->height

 

oldvalue = $rectangle->height ($newvalue)

* $newvalue (integer)
 

rectangle = $src1->intersect ($src2)

* $src2 (Gtk2::Gdk::Rectangle)
 

rectangle = $src1->union ($src2)

* $src2 (Gtk2::Gdk::Rectangle)
 

(x, y, width, height) = $rectangle->values

 

integer = $rectangle->width

 

oldvalue = $rectangle->width ($newvalue)

* $newvalue (integer)
 

integer = $rectangle->x

 

oldvalue = $rectangle->x ($newvalue)

* $newvalue (integer)
 

integer = $rectangle->y

 

oldvalue = $rectangle->y ($newvalue)

* $newvalue (integer)
 

SEE ALSO

Gtk2, Glib::Boxed  

COPYRIGHT

Copyright (C) 2003-2008 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.


 

Index

NAME
HIERARCHY
METHODS
rectangle = Gtk2::Gdk::Rectangle->new ($x, $y, $width, $height)
integer = $rectangle->height
oldvalue = $rectangle->height ($newvalue)
rectangle = $src1->intersect ($src2)
rectangle = $src1->union ($src2)
(x, y, width, height) = $rectangle->values
integer = $rectangle->width
oldvalue = $rectangle->width ($newvalue)
integer = $rectangle->x
oldvalue = $rectangle->x ($newvalue)
integer = $rectangle->y
oldvalue = $rectangle->y ($newvalue)
SEE ALSO
COPYRIGHT

linux.jgfs.net manual pages