@@ -19,50 +19,6 @@ def __init__(self, master, background):
19
19
background = background ,
20
20
)
21
21
22
- def pack (self , * , expand , fill ):
23
-
24
- return self ._canvas .pack (expand = expand , fill = fill )
25
-
26
-
27
- def config (self , * , xscrollincrement , yscrollincrement ):
28
-
29
- return self ._canvas .config (
30
- xscrollincrement = xscrollincrement ,
31
- yscrollincrement = yscrollincrement ,
32
- )
33
-
34
-
35
- def xview_scroll (self , number , what ):
36
-
37
- return self ._canvas .xview_scroll (number , what )
38
-
39
-
40
- def yview_scroll (self , number , what ):
41
-
42
- return self ._canvas .yview_scroll (number , what )
43
-
44
-
45
-
46
- def itemconfig (self , item_id , * , image ):
47
-
48
- return self ._canvas .itemconfig (item_id , image = image )
49
-
50
-
51
- def update (self ):
52
-
53
- return self ._canvas .update ()
54
-
55
-
56
- def tag_raise (self , item_id , other = None ):
57
-
58
- return self ._canvas .tag_raise (item_id , other )
59
-
60
-
61
- def tag_lower (self , item_id , other = None ):
62
-
63
- return self ._canvas .tag_lower (item_id , other )
64
-
65
-
66
22
def _inverted_y (self , coords ):
67
23
68
24
return [
@@ -106,6 +62,6 @@ def coords(self, item_id, coords):
106
62
return self ._canvas .coords (item_id , self ._inverted_y (coords ))
107
63
108
64
109
- def delete (self , item_id ):
65
+ def __getattr__ (self , name ):
110
66
111
- return self ._canvas . delete ( item_id )
67
+ return getattr ( self ._canvas , name )
0 commit comments