Canvas
index
/usr/lib/python2.1/lib-tk/Canvas.py

# This module exports classes for the various canvas item types

 
Classes
            
CanvasItem
Arc
Bitmap
CanvasText
ImageItem
Line
Oval
Polygon
Rectangle
Window
Group

 
class Arc(CanvasItem)
       
  
__getitem__(self, key) from CanvasItem
__init__(self, canvas, *args, **kw)
__repr__(self) from CanvasItem
__setitem__(self, key, value) from CanvasItem
__str__(self) from CanvasItem
addtag(self, tag, option='withtag') from CanvasItem
bbox(self) from CanvasItem
bind(self, sequence=None, command=None, add=None) from CanvasItem
cget = __getitem__(self, key) from CanvasItem
config(self, cnf={}, **kw) from CanvasItem
coords(self, pts=()) from CanvasItem
dchars(self, first, last=None) from CanvasItem
delete(self) from CanvasItem
dtag(self, ttd) from CanvasItem
focus(self) from CanvasItem
gettags(self) from CanvasItem
has_key(self, key) from CanvasItem
icursor(self, index) from CanvasItem
index(self, index) from CanvasItem
insert(self, beforethis, string) from CanvasItem
keys(self) from CanvasItem
lower(self, belowthis=None) from CanvasItem
move(self, xamount, yamount) from CanvasItem
raise_ = tkraise(self, abovethis=None) from CanvasItem
scale(self, xorigin, yorigin, xscale, yscale) from CanvasItem
tkraise(self, abovethis=None) from CanvasItem
type(self) from CanvasItem
unbind(self, sequence, funcid=None) from CanvasItem

 
class Bitmap(CanvasItem)
       
  
__getitem__(self, key) from CanvasItem
__init__(self, canvas, *args, **kw)
__repr__(self) from CanvasItem
__setitem__(self, key, value) from CanvasItem
__str__(self) from CanvasItem
addtag(self, tag, option='withtag') from CanvasItem
bbox(self) from CanvasItem
bind(self, sequence=None, command=None, add=None) from CanvasItem
cget = __getitem__(self, key) from CanvasItem
config(self, cnf={}, **kw) from CanvasItem
coords(self, pts=()) from CanvasItem
dchars(self, first, last=None) from CanvasItem
delete(self) from CanvasItem
dtag(self, ttd) from CanvasItem
focus(self) from CanvasItem
gettags(self) from CanvasItem
has_key(self, key) from CanvasItem
icursor(self, index) from CanvasItem
index(self, index) from CanvasItem
insert(self, beforethis, string) from CanvasItem
keys(self) from CanvasItem
lower(self, belowthis=None) from CanvasItem
move(self, xamount, yamount) from CanvasItem
raise_ = tkraise(self, abovethis=None) from CanvasItem
scale(self, xorigin, yorigin, xscale, yscale) from CanvasItem
tkraise(self, abovethis=None) from CanvasItem
type(self) from CanvasItem
unbind(self, sequence, funcid=None) from CanvasItem

 
class CanvasItem
       
  
__getitem__(self, key)
__init__(self, canvas, itemType, *args, **kw)
__repr__(self)
__setitem__(self, key, value)
__str__(self)
addtag(self, tag, option='withtag')
bbox(self)
bind(self, sequence=None, command=None, add=None)
cget = __getitem__(self, key)
config(self, cnf={}, **kw)
coords(self, pts=())
dchars(self, first, last=None)
delete(self)
dtag(self, ttd)
focus(self)
gettags(self)
has_key(self, key)
icursor(self, index)
index(self, index)
insert(self, beforethis, string)
keys(self)
lower(self, belowthis=None)
move(self, xamount, yamount)
raise_ = tkraise(self, abovethis=None)
scale(self, xorigin, yorigin, xscale, yscale)
tkraise(self, abovethis=None)
type(self)
unbind(self, sequence, funcid=None)

 
class CanvasText(CanvasItem)
      # XXX "Text" is taken by the Text widget...
 
  
__getitem__(self, key) from CanvasItem
__init__(self, canvas, *args, **kw)
__repr__(self) from CanvasItem
__setitem__(self, key, value) from CanvasItem
__str__(self) from CanvasItem
addtag(self, tag, option='withtag') from CanvasItem
bbox(self) from CanvasItem
bind(self, sequence=None, command=None, add=None) from CanvasItem
cget = __getitem__(self, key) from CanvasItem
config(self, cnf={}, **kw) from CanvasItem
coords(self, pts=()) from CanvasItem
dchars(self, first, last=None) from CanvasItem
delete(self) from CanvasItem
dtag(self, ttd) from CanvasItem
focus(self) from CanvasItem
gettags(self) from CanvasItem
has_key(self, key) from CanvasItem
icursor(self, index) from CanvasItem
index(self, index) from CanvasItem
insert(self, beforethis, string) from CanvasItem
keys(self) from CanvasItem
lower(self, belowthis=None) from CanvasItem
move(self, xamount, yamount) from CanvasItem
raise_ = tkraise(self, abovethis=None) from CanvasItem
scale(self, xorigin, yorigin, xscale, yscale) from CanvasItem
tkraise(self, abovethis=None) from CanvasItem
type(self) from CanvasItem
unbind(self, sequence, funcid=None) from CanvasItem

 
class Group
       
  
__init__(self, canvas, tag=None)
__str__ = str(self)
_do(self, cmd, *args)
addtag_above(self, tagOrId)
addtag_all(self)
addtag_below(self, tagOrId)
addtag_closest(self, x, y, halo=None, start=None)
addtag_enclosed(self, x1, y1, x2, y2)
addtag_overlapping(self, x1, y1, x2, y2)
addtag_withtag(self, tagOrId)
bbox(self)
bind(self, sequence=None, command=None, add=None)
config(self, cnf={}, **kw)
coords(self, *pts)
dchars(self, first, last=None)
delete(self)
dtag(self, tagToDelete=None)
focus(self)
gettags(self)
icursor(self, index)
index(self, index)
insert(self, beforeThis, string)
lift = tkraise(self, aboveThis=None)
lower(self, belowThis=None)
move(self, xAmount, yAmount)
scale(self, xOrigin, yOrigin, xScale, yScale)
select_adjust(self, index)
select_from(self, index)
select_to(self, index)
str(self)
tkraise(self, aboveThis=None)
type(self)
unbind(self, sequence, funcid=None)

 
class ImageItem(CanvasItem)
       
  
__getitem__(self, key) from CanvasItem
__init__(self, canvas, *args, **kw)
__repr__(self) from CanvasItem
__setitem__(self, key, value) from CanvasItem
__str__(self) from CanvasItem
addtag(self, tag, option='withtag') from CanvasItem
bbox(self) from CanvasItem
bind(self, sequence=None, command=None, add=None) from CanvasItem
cget = __getitem__(self, key) from CanvasItem
config(self, cnf={}, **kw) from CanvasItem
coords(self, pts=()) from CanvasItem
dchars(self, first, last=None) from CanvasItem
delete(self) from CanvasItem
dtag(self, ttd) from CanvasItem
focus(self) from CanvasItem
gettags(self) from CanvasItem
has_key(self, key) from CanvasItem
icursor(self, index) from CanvasItem
index(self, index) from CanvasItem
insert(self, beforethis, string) from CanvasItem
keys(self) from CanvasItem
lower(self, belowthis=None) from CanvasItem
move(self, xamount, yamount) from CanvasItem
raise_ = tkraise(self, abovethis=None) from CanvasItem
scale(self, xorigin, yorigin, xscale, yscale) from CanvasItem
tkraise(self, abovethis=None) from CanvasItem
type(self) from CanvasItem
unbind(self, sequence, funcid=None) from CanvasItem

 
class Line(CanvasItem)
       
  
__getitem__(self, key) from CanvasItem
__init__(self, canvas, *args, **kw)
__repr__(self) from CanvasItem
__setitem__(self, key, value) from CanvasItem
__str__(self) from CanvasItem
addtag(self, tag, option='withtag') from CanvasItem
bbox(self) from CanvasItem
bind(self, sequence=None, command=None, add=None) from CanvasItem
cget = __getitem__(self, key) from CanvasItem
config(self, cnf={}, **kw) from CanvasItem
coords(self, pts=()) from CanvasItem
dchars(self, first, last=None) from CanvasItem
delete(self) from CanvasItem
dtag(self, ttd) from CanvasItem
focus(self) from CanvasItem
gettags(self) from CanvasItem
has_key(self, key) from CanvasItem
icursor(self, index) from CanvasItem
index(self, index) from CanvasItem
insert(self, beforethis, string) from CanvasItem
keys(self) from CanvasItem
lower(self, belowthis=None) from CanvasItem
move(self, xamount, yamount) from CanvasItem
raise_ = tkraise(self, abovethis=None) from CanvasItem
scale(self, xorigin, yorigin, xscale, yscale) from CanvasItem
tkraise(self, abovethis=None) from CanvasItem
type(self) from CanvasItem
unbind(self, sequence, funcid=None) from CanvasItem

 
class Oval(CanvasItem)
       
  
__getitem__(self, key) from CanvasItem
__init__(self, canvas, *args, **kw)
__repr__(self) from CanvasItem
__setitem__(self, key, value) from CanvasItem
__str__(self) from CanvasItem
addtag(self, tag, option='withtag') from CanvasItem
bbox(self) from CanvasItem
bind(self, sequence=None, command=None, add=None) from CanvasItem
cget = __getitem__(self, key) from CanvasItem
config(self, cnf={}, **kw) from CanvasItem
coords(self, pts=()) from CanvasItem
dchars(self, first, last=None) from CanvasItem
delete(self) from CanvasItem
dtag(self, ttd) from CanvasItem
focus(self) from CanvasItem
gettags(self) from CanvasItem
has_key(self, key) from CanvasItem
icursor(self, index) from CanvasItem
index(self, index) from CanvasItem
insert(self, beforethis, string) from CanvasItem
keys(self) from CanvasItem
lower(self, belowthis=None) from CanvasItem
move(self, xamount, yamount) from CanvasItem
raise_ = tkraise(self, abovethis=None) from CanvasItem
scale(self, xorigin, yorigin, xscale, yscale) from CanvasItem
tkraise(self, abovethis=None) from CanvasItem
type(self) from CanvasItem
unbind(self, sequence, funcid=None) from CanvasItem

 
class Polygon(CanvasItem)
       
  
__getitem__(self, key) from CanvasItem
__init__(self, canvas, *args, **kw)
__repr__(self) from CanvasItem
__setitem__(self, key, value) from CanvasItem
__str__(self) from CanvasItem
addtag(self, tag, option='withtag') from CanvasItem
bbox(self) from CanvasItem
bind(self, sequence=None, command=None, add=None) from CanvasItem
cget = __getitem__(self, key) from CanvasItem
config(self, cnf={}, **kw) from CanvasItem
coords(self, pts=()) from CanvasItem
dchars(self, first, last=None) from CanvasItem
delete(self) from CanvasItem
dtag(self, ttd) from CanvasItem
focus(self) from CanvasItem
gettags(self) from CanvasItem
has_key(self, key) from CanvasItem
icursor(self, index) from CanvasItem
index(self, index) from CanvasItem
insert(self, beforethis, string) from CanvasItem
keys(self) from CanvasItem
lower(self, belowthis=None) from CanvasItem
move(self, xamount, yamount) from CanvasItem
raise_ = tkraise(self, abovethis=None) from CanvasItem
scale(self, xorigin, yorigin, xscale, yscale) from CanvasItem
tkraise(self, abovethis=None) from CanvasItem
type(self) from CanvasItem
unbind(self, sequence, funcid=None) from CanvasItem

 
class Rectangle(CanvasItem)
       
  
__getitem__(self, key) from CanvasItem
__init__(self, canvas, *args, **kw)
__repr__(self) from CanvasItem
__setitem__(self, key, value) from CanvasItem
__str__(self) from CanvasItem
addtag(self, tag, option='withtag') from CanvasItem
bbox(self) from CanvasItem
bind(self, sequence=None, command=None, add=None) from CanvasItem
cget = __getitem__(self, key) from CanvasItem
config(self, cnf={}, **kw) from CanvasItem
coords(self, pts=()) from CanvasItem
dchars(self, first, last=None) from CanvasItem
delete(self) from CanvasItem
dtag(self, ttd) from CanvasItem
focus(self) from CanvasItem
gettags(self) from CanvasItem
has_key(self, key) from CanvasItem
icursor(self, index) from CanvasItem
index(self, index) from CanvasItem
insert(self, beforethis, string) from CanvasItem
keys(self) from CanvasItem
lower(self, belowthis=None) from CanvasItem
move(self, xamount, yamount) from CanvasItem
raise_ = tkraise(self, abovethis=None) from CanvasItem
scale(self, xorigin, yorigin, xscale, yscale) from CanvasItem
tkraise(self, abovethis=None) from CanvasItem
type(self) from CanvasItem
unbind(self, sequence, funcid=None) from CanvasItem

 
class Window(CanvasItem)
       
  
__getitem__(self, key) from CanvasItem
__init__(self, canvas, *args, **kw)
__repr__(self) from CanvasItem
__setitem__(self, key, value) from CanvasItem
__str__(self) from CanvasItem
addtag(self, tag, option='withtag') from CanvasItem
bbox(self) from CanvasItem
bind(self, sequence=None, command=None, add=None) from CanvasItem
cget = __getitem__(self, key) from CanvasItem
config(self, cnf={}, **kw) from CanvasItem
coords(self, pts=()) from CanvasItem
dchars(self, first, last=None) from CanvasItem
delete(self) from CanvasItem
dtag(self, ttd) from CanvasItem
focus(self) from CanvasItem
gettags(self) from CanvasItem
has_key(self, key) from CanvasItem
icursor(self, index) from CanvasItem
index(self, index) from CanvasItem
insert(self, beforethis, string) from CanvasItem
keys(self) from CanvasItem
lower(self, belowthis=None) from CanvasItem
move(self, xamount, yamount) from CanvasItem
raise_ = tkraise(self, abovethis=None) from CanvasItem
scale(self, xorigin, yorigin, xscale, yscale) from CanvasItem
tkraise(self, abovethis=None) from CanvasItem
type(self) from CanvasItem
unbind(self, sequence, funcid=None) from CanvasItem

 
Functions
            
_flatten(...)

 
Data
             __file__ = '/usr/lib/python2.1/lib-tk/Canvas.pyc'
__name__ = 'Canvas'