archie/tk3.6/library/demos
2024-05-27 16:13:40 +02:00
..
bitmaps Intial commit 2024-05-27 16:13:40 +02:00
browse Intial commit 2024-05-27 16:13:40 +02:00
color Intial commit 2024-05-27 16:13:40 +02:00
dialog Intial commit 2024-05-27 16:13:40 +02:00
hello Intial commit 2024-05-27 16:13:40 +02:00
ixset Intial commit 2024-05-27 16:13:40 +02:00
mkArrow.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkBasic.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkBitmaps.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkButton.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkCanvText.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkCheck.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkDialog.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkEntry2.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkEntry.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkFloor.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkForm.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkHScale.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkIcon.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkItems.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkLabel.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkListbox2.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkListbox3.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkListbox.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkPlot.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkPuzzle.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkRadio.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkRuler.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkScroll.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkSearch.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkStyles.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkTear.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkTextBind.tcl Intial commit 2024-05-27 16:13:40 +02:00
mkVScale.tcl Intial commit 2024-05-27 16:13:40 +02:00
README Intial commit 2024-05-27 16:13:40 +02:00
rmt Intial commit 2024-05-27 16:13:40 +02:00
rolodex Intial commit 2024-05-27 16:13:40 +02:00
showVars.tcl Intial commit 2024-05-27 16:13:40 +02:00
size Intial commit 2024-05-27 16:13:40 +02:00
square Intial commit 2024-05-27 16:13:40 +02:00
tclIndex Intial commit 2024-05-27 16:13:40 +02:00
tcolor Intial commit 2024-05-27 16:13:40 +02:00
timer Intial commit 2024-05-27 16:13:40 +02:00
tkSquare.c Intial commit 2024-05-27 16:13:40 +02:00
widget Intial commit 2024-05-27 16:13:40 +02:00

This directory contains a collection of programs to demonstrate
the features of the Tk toolkit.  The programs are all scripts for
"wish", a windowing shell.  If wish has been installed in /usr/local
then you can invoke any of the programs in this directory just
by typing its file name to your command shell.  Otherwise invoke
wish on the file using the "-f" switch to wish, e.g. "wish -f hello".
The rest of this file contains a brief description of each program.
Files with names ending in ".tcl" are procedure packages used by one
or more of the demo programs;  they can't be used as programs by
themselves so they aren't described below.

hello -		Creates a single button;  if you click on it, a message
		is typed and the application terminates.

widget -	Contains a collection of demonstrations of the widgets
		currently available in the Tk library.  Most of the .tcl
		files are scripts for individual demos available through
		the "widget" program.

ixset -		A simple Tk-based wrapper for the "xset" program, which
		allows you to interactively query and set various X options
		such as mouse acceleration and bell volume.  Thanks to
		Pierre David for contributing this example.

rolodex -	A mock-up of a simple rolodex application.  It has much of
		the user interface for such an application but no back-end
		database.  This program was written in response to Tom
		LaStrange's toolkit benchmark challenge.

tcolor -	A color editor.  Allows you to edit colors in several
		different ways, and will also perform automatic updates
		using "send".

rmt -		Allows you to "hook-up" remotely to any Tk application
		on the display.  Select an application with the menu,
		then just type commands:  they'll go to that application.

timer -		Displays a seconds timer with start and stop buttons.
		Control-c and control-q cause it to exit.

browse -	A simple directory browser.  Invoke it with and argument
		giving the name of the directory you'd like to browse.
		Double-click on files or subdirectories to browse them.
		Control-c and control-q cause the program to exit.

dialog -	Displays a simple dialog.  Click on any button and the
		application exits.

size -		Takes three arguments:  the name of an application, the
		name of a widget in that application, and the name of an
		integer-valued option for that widget.  Allows you to
		interactively resize the given option.  For example,
		start up the dialog demo, then type
		"size dialog .bot.middle -pady" for an example.

color -		Similar to "size", but modifies a color option.  Try
		"color dialog .bot.middle -bg" for an example.

tkSquare.c -	A very simple widget to provide an example of how to
		implement a new widget.  When building a new widget you
		may find it useful to start from this code.