-activebackground -disabledcolor -justify -activeforeground -font -relief -anchor -foreground -takefocus -background -highlightcolor -text -bitmap -highlightthickness -underline -borderwidth -image
A button is a widget that displays a textual string, bitmap or image. If text is displayed, it must all be in a single font, but it can occupy multiple lines on the screen (if it contains newlines) and one of the characters may optionally be underlined using the underline option. It can display itself in either of three different ways, according to the state option; it can be made to appear raised, sunken, or flat. When a user invokes the button (by pressing mouse button 1 with the cursor over the button), then the Tk command specified in the -command option is invoked.
pathName option ?arg arg ...?
If the button's state is disabled then none of the above actions occur: the button is completely non-responsive.
The behaviour of buttons can be changed by defining new bindings for individual widgets.
BUTTON(9 ) | Rev: Thu Feb 15 14:44:05 GMT 2007 |