Name

tile

tilebutton pathName [option value...]tilecheckbutton pathName [option value...]tileframe pathName [option value...]tilelabel pathName [option value...]tileradiobutton pathName [option value...]tilescrollbar pathName [option value...]tiletoplevel pathName [option value...]

These commands are identical to their Tk counterparts without the “tile” prefix, with the addition of support for textured backgrounds using the following options:

-activetile imageName (activeTile, Tile)

Image to use as background tile for widget when the widget is active (i.e., it would normally be drawn with its -activeBackground color).

-tile imageName (tile, Tile)

Image to use as background tile for widget.

The tilescrollbar command is not supported under Windows.

Example

image create photo paper -file tan_paper.gif
tileframe .frame -tile paper

Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.