next up previous contents index
Next: Widget Up: Widgets Previous: Text   Contents   Index


Toplevel

The following keyword arguments are available for creating an instance of the toplevel and for configuring it

background background color of the widget
borderwidth width of the border around the widget in pixels
class the class of the widget, used for lookup in the option database. This option cannot be changed after the widget creation.
colormap The colormap to use for the widget.
container

cursor mouse pointer to display on the widget (valid values are listed in *cursors*)
height height of the widget
highlightbackground

highlightcolor

highlightthickness

menu

padx padding around text displayed on the widget
pady padding around text displayed on the widget
relief relief of the widgets border (raised, sunken, ridge, groove)
screen screen on which the toplevel is to be shown
takefocus if true, the widget can take the focus
use

visual

width width of the widget

next up previous contents index
Next: Widget Up: Widgets Previous: Text   Contents   Index
Peter Herth 2006-01-29