Opening the Tcl Tutorial Project File
New Project To create a set of project and program files for the
Tcl Tutorial,
click here. You
will be prompted to specify the destination directory for the Tcl Tutorial project
and associated files.
Existing Project If you have already made a working copy of
the Tcl Tutorial project and wish to use that copy instead of creating a new
working copy, select File|Open|Project and navigate to the
directory where you copied the project. Open the file tcl_tutorial.kpf .
The files included in the tutorial project are displayed in the
Projects/Toolbox Pane.
No files have been opened in the
Editor Pane.
Top
In the Projects/Toolbox Pane,
click the plus sign next to dlg_tcl_check.ui to display its
contents. Double click the file dlg_tcl_check.tcl . The file will open in
the Editor Pane; a tab at the top of the pane displays its name.
You may have noticed that dlg_tcl_check.ui has two
associated files, dlg_tcl_check.tcl and dlg_tcl_check_ui.tcl .
Both of these files are generated automatically when you
create a new GUI Builder
project. However, only the callback file, in this case dlg_tcl_check.tcl,
should ever be edited. The second file, in this case dlg_tcl_check_ui.tcl, is
overwritten each time you make modifications to a GUI Builder project. For this
reason, any changes you make to the file could be lost.
|