1Goo::Canvas::Widget(3)User Contributed Perl DocumentationGoo::Canvas::Widget(3)
2
3
4
6 Goo::Canvas::Widget - wrapper for GooCanvasWidget
7
9 Glib::Object
10 +----Goo::Canvas::ItemSimple
11 +----Goo::Canvas::Widget
12
14 Goo::Canvas::Item
15
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
34 'anchor' (Gtk2::AnchorType : default "north-west" : readable /
35 writable)
36 How to position the widget relative to the item's x and y
37 coordinate settings
38
39 'height' (double : default -1 : readable / writable)
40 The height of the widget, or -1 to use its requested height
41
42 'widget' (Gtk2::Widget : default undef : readable / writable)
43 The widget to place in the canvas
44
45 'width' (double : default -1 : readable / writable)
46 The width of the widget, or -1 to use its requested width
47
48 'x' (double : default 0 : readable / writable)
49 The x coordinate of the widget
50
51 'y' (double : default 0 : readable / writable)
52 The y coordinate of the widget
53
55 enum Gtk2::AnchorType
56 · 'center' / 'GTK_ANCHOR_CENTER'
57
58 · 'north' / 'GTK_ANCHOR_NORTH'
59
60 · 'north-west' / 'GTK_ANCHOR_NORTH_WEST'
61
62 · 'north-east' / 'GTK_ANCHOR_NORTH_EAST'
63
64 · 'south' / 'GTK_ANCHOR_SOUTH'
65
66 · 'south-west' / 'GTK_ANCHOR_SOUTH_WEST'
67
68 · 'south-east' / 'GTK_ANCHOR_SOUTH_EAST'
69
70 · 'west' / 'GTK_ANCHOR_WEST'
71
72 · 'east' / 'GTK_ANCHOR_EAST'
73
74 · 'n' / 'GTK_ANCHOR_N'
75
76 · 'nw' / 'GTK_ANCHOR_NW'
77
78 · 'ne' / 'GTK_ANCHOR_NE'
79
80 · 's' / 'GTK_ANCHOR_S'
81
82 · 'sw' / 'GTK_ANCHOR_SW'
83
84 · 'se' / 'GTK_ANCHOR_SE'
85
86 · 'w' / 'GTK_ANCHOR_W'
87
88 · 'e' / 'GTK_ANCHOR_E'
89
91 Glib::Object, Goo::Canvas::ItemSimple
92
94 Copyright (C) 2020 Gtk2-Perl Team
95
96
97
98perl v5.32.0 2020-07-28 Goo::Canvas::Widget(3)