Tkinter Widget Overview
  Copyright © 1997 by Fredrik Lundh <[email protected]>  
  Updated 9 Aug 1997  

The Frame Widget

A frame is simply a rectangular region on the screen. It is mainly used to organize other widgets, using one of the geometry managers.

Methods

Except for the standard widget interface (config, etc), the Frame widget has no methods.

Options

The frame widget supports the following options:

Option Type Description
height, width integer Frame size.
background or bg color The background color to use in the frame. This defaults to the application background color.
colormap string  
cursor cursor Which cursor to use in this frame.
relief constant Frame embellishments: either FLAT, SUNKEN, RAISED, GROOVE, or RIDGE. The default is FLAT.
takefocus bool  
borderwidth or bd int Width of the 3D border. Defaults to 0 (no border).