fix minor typos in Scripting-GUI-TclTk.xml

This commit is contained in:
Jason Leschnik 2016-10-24 20:44:54 +11:00
parent bf6f67b1ae
commit 1e87649746
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ proc put_text {} {
screen
</screen>
<para>
First, let's have a look at the <command>screen</command> procedure. The <command>radiobutton</command> command works just like html radiobuttons. The <command>-variable</command> parameter accepts the name of the variable as an argument. The <command>-value</command> parameter accepts the variable's value as an argument. The button, .top.submit uses the <command>-command</command> parameter to to call the init procedure defined later in the script. These buttons are then packed into the top frame and a second frame called bottom is created.
First, let's have a look at the <command>screen</command> procedure. The <command>radiobutton</command> command works just like html radiobuttons. The <command>-variable</command> parameter accepts the name of the variable as an argument. The <command>-value</command> parameter accepts the variable's value as an argument. The button, .top.submit uses the <command>-command</command> parameter to call the init procedure defined later in the script. These buttons are then packed into the top frame and a second frame called bottom is created.
</para>
<para>
The bottom frame is composed of a text widget and a scrollbar. Text widgets are created with the <command>text</command> command which takes a variety of options. In this case, we have used the <command>-relief</command> option which specifies the 3D effect for the field (other values for -relief include raised, flat, ridge, solid, groove); <command>-bd</command> option, which specifies borderwidth; and the <command>yscrollcommand</command> which specifies the name of a scrollbar that will be engaged by the textfield. Our scrollbar widget takes one option, <command>-command</command> which specifies how to behave when text scrolls beyond the screen of the text widget that it is interacting with.