1Goo::Canvas::Widget(3)User Contributed Perl DocumentationGoo::Canvas::Widget(3)
2
3
4

NAME

6       Goo::Canvas::Widget
7

HIERARCHY

9         Glib::Object
10         +----Goo::Canvas::ItemSimple
11              +----Goo::Canvas::Widget
12

INTERFACES

14         Goo::Canvas::Item
15

METHODS

17   item = Goo::Canvas::Widget->new ($parent, $widget, $x, $y, $width, $height,
18       ...)
19           ·   $parent (Goo::Canvas::Item)
20
21           ·   $widget (Gtk2::Widget)
22
23           ·   $x (double)
24
25           ·   $y (double)
26
27           ·   $width (double)
28
29           ·   $height (double)
30
31           ·   ... (list)
32

PROPERTIES

34       'anchor' (Gtk2::AnchorType : readable / writable)
35           How to position the widget relative to the item's x and y
36           coordinate settings
37
38       'height' (double : readable / writable)
39           The height of the widget, or -1 to use its requested height
40
41       'widget' (Gtk2::Widget : readable / writable)
42           The widget to place in the canvas
43
44       'width' (double : readable / writable)
45           The width of the widget, or -1 to use its requested width
46
47       'x' (double : readable / writable)
48           The x coordinate of the widget
49
50       'y' (double : readable / writable)
51           The y coordinate of the widget
52

ENUMS AND FLAGS

54   enum Gtk2::AnchorType
55       ·   'center' / 'GTK_ANCHOR_CENTER'
56
57       ·   'north' / 'GTK_ANCHOR_NORTH'
58
59       ·   'north-west' / 'GTK_ANCHOR_NORTH_WEST'
60
61       ·   'north-east' / 'GTK_ANCHOR_NORTH_EAST'
62
63       ·   'south' / 'GTK_ANCHOR_SOUTH'
64
65       ·   'south-west' / 'GTK_ANCHOR_SOUTH_WEST'
66
67       ·   'south-east' / 'GTK_ANCHOR_SOUTH_EAST'
68
69       ·   'west' / 'GTK_ANCHOR_WEST'
70
71       ·   'east' / 'GTK_ANCHOR_EAST'
72
73       ·   'n' / 'GTK_ANCHOR_N'
74
75       ·   'nw' / 'GTK_ANCHOR_NW'
76
77       ·   'ne' / 'GTK_ANCHOR_NE'
78
79       ·   's' / 'GTK_ANCHOR_S'
80
81       ·   'sw' / 'GTK_ANCHOR_SW'
82
83       ·   'se' / 'GTK_ANCHOR_SE'
84
85       ·   'w' / 'GTK_ANCHOR_W'
86
87       ·   'e' / 'GTK_ANCHOR_E'
88

SEE ALSO

90       Glib::Object, Goo::Canvas::ItemSimple
91
93       Copyright (C) 2010 Gtk2-Perl Team
94
95
96
97perl v5.12.0                      2010-05-12            Goo::Canvas::Widget(3)
Impressum