two_button(n) manual page

Back to the Index
Table of Contents

Name

two_button - Extended Tk button widget
two_checkbuton - Extended Tk checkbutton widget
two_label - Extended Tk label widget

Synopsis

package require twoButton ?1.0?
two_button pathName ?options?
two_checkbutton pathName ?options?
two_label pathName ?options?

Description

These widgets extend their Tk counterparts with some aliases for widget options and key bindings through '&'. The first character in the text (set with -label, -text or -t) which is prepended with an ampersand '&' is used as a hot key. Pressing <Alt> + character results in the button being pressed. If this is used with a label, then the focus is set to the next widget in the focus order.

Options

The two_button, two_checkbutton and two_label command take all options of their tk counterparts plus to following options:
-label string
Alias for -text to hide the annoying difference to the menu command.
-t string
Alias for -text.

Author

Frank J. Leitner
frank@fjl.de

See Also

text(n) .


Table of Contents


Back to the Index