Goo::Canvas::Widget(3pm)
NAME
Goo::Canvas::Widget - wrapper for GooCanvasWidget
HIERARCHY
- Glib::Object
+----Goo::Canvas::ItemSimple - +----Goo::Canvas::Widget
INTERFACES
Goo::Canvas::Item
METHODS
- item = Goo::Canvas::Widget->new ($parent, $widget, $x, $y, $width, $height,
- ...)
o $parent (Goo::Canvas::Item) - o $widget (Gtk2::Widget)
- o $x (double)
- o $y (double)
- o $width (double)
- o $height (double)
- o ... (list)
PROPERTIES
- 'anchor' (Gtk2::AnchorType : readable / writable)
- How to position the widget relative to the item's x and y
coordinate settings - 'height' (double : readable / writable)
- The height of the widget, or -1 to use its requested height
- 'widget' (Gtk2::Widget : readable / writable)
- The widget to place in the canvas
- 'width' (double : readable / writable)
- The width of the widget, or -1 to use its requested width
- 'x' (double : readable / writable)
- The x coordinate of the widget
- 'y' (double : readable / writable)
- The y coordinate of the widget
ENUMS AND FLAGS
- enum Gtk2::AnchorType
- o 'center' / 'GTK_ANCHOR_CENTER'
- o 'north' / 'GTK_ANCHOR_NORTH'
- o 'north-west' / 'GTK_ANCHOR_NORTH_WEST'
- o 'north-east' / 'GTK_ANCHOR_NORTH_EAST'
- o 'south' / 'GTK_ANCHOR_SOUTH'
- o 'south-west' / 'GTK_ANCHOR_SOUTH_WEST'
- o 'south-east' / 'GTK_ANCHOR_SOUTH_EAST'
- o 'west' / 'GTK_ANCHOR_WEST'
- o 'east' / 'GTK_ANCHOR_EAST'
- o 'n' / 'GTK_ANCHOR_N'
- o 'nw' / 'GTK_ANCHOR_NW'
- o 'ne' / 'GTK_ANCHOR_NE'
- o 's' / 'GTK_ANCHOR_S'
- o 'sw' / 'GTK_ANCHOR_SW'
- o 'se' / 'GTK_ANCHOR_SE'
- o 'w' / 'GTK_ANCHOR_W'
- o 'e' / 'GTK_ANCHOR_E'
SEE ALSO
Glib::Object, Goo::Canvas::ItemSimple
COPYRIGHT
- Copyright (C) 2009 Gtk2-Perl Team