|
|
|
|
Options
Back Next
The window item supports the following options, via the
create_window method, and the itemconfig and
itemcget configuration methods.
Table 22-1. Canvas Window Options
Option
|
Type
|
Description
|
window
|
window
|
The widget to embed in the canvas.
|
anchor
|
constant
|
Specifies which part of the window that should be placed at the
given position. Use one of N, NE, E,
SE, S, SW, W, NW, or
CENTER. Default is CENTER.
|
height, width
|
distance
|
The height and width of the window. If omitted, the height and
width defaults to the actual window size.
|
tags
|
tuple
|
One or more tags to associate with the window. If only a single
tag is to be used, you can use a single string instead of a tuple
of strings.
|
Back Next
|