Duration: 2 days
• Price: $1180.00 or £720.00 +VAT
(with hotel room), or
$1000.00 or £600.00 +VAT
(without room), •
Venue: Melksham, England
COURSE START DATES
Usually scheduled to meet customer needs or run as a private course. Please email for details
This course takes the programmer who's already
learnt to program in Tcl forward into the graphic world of the
Tk widget set, allowing the creation of user-friendly tools.
The course covers the creation and display of widgets
under the control of Tk, the management of widgets under the
various geometry managers and config options, and the handling
of events. A short section introduces graphics programming
using canvasses, and another introduces resources.
Knowledge of Tcl, as taught on our Tcl Basics
and Learning to program in Tcl
Getting the most from your Well House Consultants course
The TK Gui (Graphic User Interface) provides an extension
to the Tcl language which allows the programmer to constuct an
application that the user can easily control through buttons,
sliders and other graphic elements. Programmers need a
thorough underdstanding of Tcl before they learn the extras
|A Review of Tcl and Tk Basics (module T248) Language constructs.
Basic command syntax.
Loop and control commands.
String handling commands.
Other commands in Tcl.
Special variable in Tcl.
|Introduction to Tk (module T216) Hello Tcl/Tk World.
Tcl/Tk supported platforms.
Our sample program.
A real application.
Feedback via the Tk window.
Widgets as commands.
A GUI front end to a data file.
The main program.
The setup proc.
The scanner proc.
The complete program.
|First Widgets, Geometry and Events (module T217) The button widget.
The pack geometry manager.
Changing how pack works.
More flexible packing.
The parent frame.
The window manager command.
Button presses and other events.
|Geometry Managers (module T218) The grid geometry manager.
Sizing and filling cells.
Managing rows and columns.
Cells that span several rows or columns.
|Drawing on Canvases (module T219) Canvas basics.
Canvas and Canvas objects.
Interacting with drawing objects.
The rectangle (rect) object.
The oval object.
The polygon object.
The arc object.
The line object.
The text object.
Computer graphics - techniques.
Hidden line and surface.
|Frames and Other Topics (module T220) Nesting frames.
The outer frame.
The first inner frame.
The second inner frame.
Labels and Messages.
|Menus (module T221) Simple pulldown menu.
Options for pulldown menus.
|Resources (module T222) Introduction.
The resource hierarchy.
Loading the resource database.
Setting resources by class and widget type.
Other subcommands of option.
Design aspects, size etc..
User defined buttons.
|Textish Widgets (module T223) The listbox widget.
Scrolling a listbox.
The entry widget.
The text widget.
Text marks and tags.
Other operations on text widgets.
|Events in Tk (module T224) Binding tags and events.
Keys and Buttons.
|Tcl on the Web (module T241) Tclets.
Some concerns on Tclets.
Server side Tcl via CGI.
The initial form.
The CGI program - inputs.
The CGI program - the application.
The CGI program - the response page.
Other matters on CGI and Tcl.
Web and non-web.
The TclHttpd web server.
What can TclHttpd handle?.
When would I use these?.
|Tix Megawidgets (module T246) Introduction.
What is Tix?.
Hello Tix world.
What can you do with a Megawidget?.
Standard widget functionality.
Some of the megawidgets provided by Tix.
Our sample application.
Adding content to a pane.
Creating a scrolled megawidget.
Creating a hierarchical widget.
Event and action handling.
Aspects of going live.
Some other megawidgets.
File selection boxes and dialogue boxes.
TUTOR and COURSE AUTHOR
Graham Ellis - email@example.com
] [about Graham
, England. A taxi transfer can be arranged if you'll be arriving by air
from United States.
can be arranged on site in your country.
Public courses run at
Well House Manor
- our own
purpose fitted training centre and business hotel / conference centre in
• Download Melksham Map - [pdf file (750k)
] • Google Map - [Link
|| 2 students
|| 3 students
|| For 4 or more students
from the same company,
please consider a private course.
| With hotel room
($1416.00 inc VAT) or
(£864.00 inc VAT)
($1200.00 inc VAT) or
(£720.00 inc VAT)
| With hotel rooms
($2712.00 inc VAT) or
(£1608.00 inc VAT)
($2280.00 inc VAT) or
(£1320.00 inc VAT)
| With hotel rooms
($4008.00 inc VAT) or
(£2352.00 inc VAT)
($3360.00 inc VAT) or
(£1920.00 inc VAT)
• Multiple discount applies to bookings for second and subsequent delegates on the same running of a course, and on same order.
• Hotel rooms are available for arrival the night before the course starts, for departure after the end of the course on the last day.
Upon completion of your course, you'll have online access to the source code of
all the examples from the course, and you'll have access to the
"Ask the Tutor" forum
where you can raise questions. We also encourage you to email the tutor, and
to visit us again to use our library as appropriate.
Certification? - [Link
FOR FURTHER INFORMATION
Public (scheduled) courses
For more information about our public courses in general, such as class size, course times, materials provided, special requests, accommodation list, finding our centre, etc.
Terms and Conditions
Covering topics such as delegate substitution, payment, cancellation policy and other matters.