21.4. The Button WidgetCreate a simple button with the Button method: $parentwidget->Button (options) The standard configuration options that apply to Button are: -activebackground, -activeforeground, -anchor, -background, -bg, -bitmap, -borderwidth, -bd, -cursor, -default, -disabledforeground, -font, -foreground, -fg, -height, -highlight-background, -highlightcolor, -highlightthickness, -image, -justify, -padx, -pady, -relief, -state, -takefocus, -underline, -width, and -wraplength. Other options are:
21.4.1. Button MethodsIn addition to configure and cget, the following methods can be used for Button: Copyright © 2002 O'Reilly & Associates. All rights reserved. |
|