Gtk2::Gdk::Rectangle(3) User Contributed Perl Documentation Gtk2::Gdk::Rectangle(3)

Gtk2::Gdk::Rectangle - wrapper for GdkRectangle

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

  • $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)

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)

Gtk2, Glib::Boxed

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

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

2022-05-29 perl v5.36.0