~cvs/scrib/doc/configuring.html

# ~cvs/scrib ("script lib")

`scrib' is a cvs module of scripts and TCL procs for scripting med with an easily-configurable Wish/Tk application.

## configuring a new scrib application

the files you can use to configure a new scrib application are the following:

1. `app_*/config.tcl` : config file for the operational aspects of the application(required)

2. `app_*/data_column.tcl` : scrib_app_data_* widget calls to configure its data entry elements(required)

3. `app_*/procedures.tcl` : a file containing any user-specific procs connected to the gui (optional)

4. `$startupscript(.bat)` : a file containing any user-specific procs connected to the gui (optional)

## create the file: `config.tcl`

this file should use commands matching the string `scrib_app_config_*`. the best way to get a current list of such commands is by executing the command `[info commands scrib_app_config_*]` in the messages window of the example application. there are others, however, important ones like `scrib_app_button_add`, and one day i will document them too. take a look at `scrib/app_example/config.tcl` for help.

## create the file: `data_column.tcl`

this file should use commands matching the string `scrib_app_data_*`. the best way to get a current list of such commands is by executing the command `[info commands scrib_app_data*]` in the messages window of the example application. take a look at `scrib/app_example/data_column.tcl` for help.

## create the file: `procedures.tcl`

this file containing any user-specific procs connected to the gui. they are not callable from `lib/` procs, rather should connect buttons to `lib/` procs in ways otherwise unimplemented. take a look at `scrib/app_example/procedures.tcl` for help.

## create a startup script file: ``

this script file starts up your application. take a look at `scrib/run_example` (for *nix) or `scrib/run_example.bat` (for Windoze) for help.

## give it a shot!

now try running your application!

------------------------------------------------------

author: jason k. aftosmis (jason at icemcfd dot com), april 2002