Gnome2::Canvas::Item Glib::Object +----Gtk2::Object +----Gnome2::Canvas::Item

item = Gnome2::Canvas::Item->new ($parent, $object_class, ...)
Factory constructor for Gnome2::Canvas::Item subclasses.

$item->affine_absolute ($affine)
Replaces $item's transformation matrix.

$item->affine_relative ($affine)
Combines $affine with $item's current transformation.

(x1, y1, x2, y2) = $item->get_bounds

$canvas = $item->canvas
Fetch the Gnome2::Canvas to which $item is attached.

grabstatus = $item->grab ($event_mask, $cursor, $etime=GDK_CURRENT_TIME)

$item->grab_focus

$item->hide

$affine = $item->i2c_affine
Fetch the affine transform that converts from item-relative coordinates to canvas pixel coordinates. Note: This method was completely broken for all $Gnome2::Canvas::VERSION < 1.002.

(x, y) = $item->i2w ($x, $y)

$affine = $item->i2w_affine
Fetch the affine transform that converts from item's coordinate system to world coordinates. Note: This method was completely broken for all $Gnome2::Canvas::VERSION < 1.002.

$item->lower ($positions)

$item->lower_to_bottom

$item->move ($dx, $dy)

$canvasgroup = $item->parent
Fetch $item's parent group item.

$item->raise ($positions)

$item->raise_to_top

$item->reparent ($new_group)

$item->request_update

$item->reset_bounds
Reset the bounding box of $item to an empty rectangle.

$item->show

$item->ungrab ($etime=GDK_CURRENT_TIME)

$item->update_bbox ($x1, $y1, $x2, $y2)
Set $item's bounding box to a new rectangle, and request a full repaint.

(x, y) = $item->w2i ($x, $y)

flags Gtk2::Gdk::EventMask
Gnome2::Canvas, Glib::Object, Gtk2::Object Copyright (C) 2003-2004 by the Gtk2-Perl Team. This software is licensed under the LGPL; see Gnome2::Canvas for a full notice.