Next:
Gnome2::Canvas::Line
Previous:
Gnome2::Canvas::index
 [Gtk2-Perl - Table of Contents][Gtk2-Perl - Index]

Gnome2::Canvas::Item



NAME

Gnome2::Canvas::Item

HIERARCHY

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

METHODS

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)

PROPERTIES

'parent' (Gnome2::Canvas::Item : readable / writable)

SIGNALS

boolean = event (Gnome2::Canvas::Item, Gtk2::Gdk::Event)

ENUMS AND FLAGS

flags Gtk2::Gdk::EventMask

enum Gtk2::Gdk::GrabStatus

SEE ALSO

Gnome2::Canvas, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object

COPYRIGHT

Copyright (C) 2003-2004 by the Gtk2-Perl Team.

This software is licensed under the LGPL; see Gnome2::Canvas for a full notice.


[Top] Generated by Marek::Pod::HTML 0.49 on Wed Dec 16 22:58:06 2009