Creates a button widget with name,
located at row and column. The fcolor and bcolor are the colors used
when the button does not have the focus. The hfcolor and hbcolor are
the colors used when the button has the focus. In additon to the
different colors, a selector indicator is printed on either side of the
button's caption. The button is automatically sized based on the
caption plus the selection indicators. When positioning the button, add
4 characters to the length of the caption (2 on either side) for the
selection indicators.
Parameters:
name: The name of the tbutton widget.
Must be
unique.
row: The line on which tbutton
will be printed.
col: The column of the
left-most side of the tbutton widget. The length of a button is the
length of the caption + 4 characters.
fcolor: The color that is used
to print the button caption when it does not have the focus.
bcolor: The color that is used
to print the button background when it does not have the focus.
hfcolor: The color that is used
to print the caption when the button has the focus.
hbcolor: The color that is used
to print the button background when the button has the focus.
caption: The tbutton caption.