Goo::Canvas::Widget.3pm

Langue: en

Autres versions - même langue

Version: 2009-05-07 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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, ...)

$parent (Goo::Canvas::Item)
$widget (Gtk2::Widget)
$x (double)
$y (double)
$width (double)
$height (double)
... (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

'center' / 'GTK_ANCHOR_CENTER'
'north' / 'GTK_ANCHOR_NORTH'
'north-west' / 'GTK_ANCHOR_NORTH_WEST'
'north-east' / 'GTK_ANCHOR_NORTH_EAST'
'south' / 'GTK_ANCHOR_SOUTH'
'south-west' / 'GTK_ANCHOR_SOUTH_WEST'
'south-east' / 'GTK_ANCHOR_SOUTH_EAST'
'west' / 'GTK_ANCHOR_WEST'
'east' / 'GTK_ANCHOR_EAST'
'n' / 'GTK_ANCHOR_N'
'nw' / 'GTK_ANCHOR_NW'
'ne' / 'GTK_ANCHOR_NE'
's' / 'GTK_ANCHOR_S'
'sw' / 'GTK_ANCHOR_SW'
'se' / 'GTK_ANCHOR_SE'
'w' / 'GTK_ANCHOR_W'
'e' / 'GTK_ANCHOR_E'

SEE ALSO

Glib::Object, Goo::Canvas::ItemSimple Copyright (C) 2009 Gtk2-Perl Team