Package teamwork :: Package widgets :: Module bigwidgets :: Class ImageWidget
[hide private]
[frames] | no frames]

Class ImageWidget

source code

CanvasWidget --+
               |
              ImageWidget

A canvas widget that contains an image widget.

Attributes:

Instance Methods [hide private]
 
__init__(self, canvas, child, **attribs)
Create a new image widget.
source code
list of int
_tags(self)
Returns: a list of canvas tags for all graphical elements managed by this canvas widget, not including graphical elements managed by its child widgets.
source code

Inherited from CanvasWidget: __getitem__, __repr__, __setitem__, bbox, bind_click, bind_drag, canvas, child_widgets, destroy, height, hidden, hide, manage, move, parent, show, tags, unbind_click, unbind_drag, update, width

Method Details [hide private]

__init__(self, canvas, child, **attribs)
(Constructor)

source code 

Create a new image widget.

Parameters:
  • canvas (Tkinter.Canvas) - This canvas widget's canvas.
  • child (CanvasWidget) - The child widget. child must not have a parent.
  • attribs - The new canvas widget's attributes.
Overrides: CanvasWidget.__init__

_tags(self)

source code 
Returns: list of int
a list of canvas tags for all graphical elements managed by this canvas widget, not including graphical elements managed by its child widgets.
Overrides: CanvasWidget._tags
(inherited documentation)