18.4 The Button Widget
Create a simple button with the The standard configuration options that apply to$parentwidget->Button ( options )
Button
are:
-activebackground
,
-activeforeground
,
-anchor
,
-background
,
-bg
,
-bitmap
,
-borderwidth
,
-bd
,
-cursor
,
-disabledforeground
,
-font
,
-foreground
,
-fg
,
-height
,
-highlightbackground
,
-highlightcolor
,
-highlightthickness
,
-image
,
-justify
,
-padx
,
-pady
,
-relief
,
-state
,
-takefocus
,
-underline
,
-width
,
and
-wraplength
.
Other options are:
18.4.1 Button Methods
In addition to Copyright © 2001 O'Reilly & Associates. All rights reserved. |
|