Gtk2::Gdk::Rectangle(3) User Contributed Perl Documentation NAME Gtk2::Gdk::Rectangle - wrapper for GdkRectangle HIERARCHY Glib::Boxed +----Gtk2::Gdk::Rectangle METHODS rectangle = Gtk2::Gdk::Rectangle->new ($x, $y, $width, $height) o $x (integer) o $y (integer) o $width (integer) o $height (integer) integer = $rectangle->height oldvalue = $rectangle->height ($newvalue) o $newvalue (integer) rectangle = $src1->intersect ($src2) o $src2 (Gtk2::Gdk::Rectangle) rectangle = $src1->union ($src2) o $src2 (Gtk2::Gdk::Rectangle) (x, y, width, height) = $rectangle->values integer = $rectangle->width oldvalue = $rectangle->width ($newvalue) o $newvalue (integer) integer = $rectangle->x oldvalue = $rectangle->x ($newvalue) o $newvalue (integer) integer = $rectangle->y oldvalue = $rectangle->y ($newvalue) o $newvalue (integer) SEE ALSO Gtk2, Glib::Boxed COPYRIGHT Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.40.0 2024-09-01 Gtk2::Gdk::Rectangle(3)