Duration:
2 days • Price:
£720.00 +VAT (with hotel room), or
£600.00 +VAT (without room), •
Venue:
Melksham, Wiltshire
COURSE START DATES
| • Monday 21 July 2008 | • Thursday 9 October 2008 |
Check availability / book [
Link]
This course is offered under our
options program. Early booking is recommended.
DESCRIPTION
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.
PREREQUISITES
Knowledge of Tcl, as taught on our
Tcl Basics
course.
Getting the most from your Well House Consultants course
[
Link]
SUBJECT BACKGROUND
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
of Tk.
COURSE CONTENT
Shorter description available: [Link]
| A Review of Tcl and Tk Basics (module T248) Command syntax.
[] {} "" \ and $.
Variables, lists, arrays, procs.
Regular expressions.
Basic commands.
Loop and control commands.
String handling commands.
List and array commands.
Handling files.
Other commands in Tcl.
Tk overview.
Widgets, geometries and events. |
| Introduction to Tk (module T216) "Hello World" in Tk.
A real application.
A GUI frontend to a data file. |
| First Widgets, Geometry and Events (module T217) The button widget - easy uses.
The Pack Geometry manager.
Frames.
Button presses and other events. |
| Geometry Managers (module T218) The Pack geometry manager.
The Grid Geometry manager.
Controlling widget placement with place. |
| Drawing on Canvases (module T219) Canvas basics; coordinate system, colour, etc.
Canvas objects. Rect, text, line, etc.
Attributes of canvas objects.
The display list, tagging and manipulating objects.
Tips and techniques for graphics programming. |
| Frames and Other Topics (module T220) Nesting frames.
Top-level widgets.
Labels and messages.
Scales. |
| Menus (module T221) Simple pulldown menus.
Options for pulldown menus.
Menu bars. |
| Resources (module T222) Resource patterns.
The resource hierarchy.
Loading, adding and accessing the database.
User-defined buttons and menus. |
| Textish Widgets (module T223) The text widget.
The entry widget.
The listbox widget. |
| Events in Tk (module T224) The event model.
Binding tags and events.
Event types and names.
Event keywords.
Virtual events.
Event sequences.
Update idletasks. |
| Tcl on the Web (module T241) Server-side and client-side Tcl.
Tclets.
Server-side Tcl via CGI.
The TclHttpd Web server. |
| Tix Megawidgets (module T246) What are Tix megawidgets?
Standard controls on a megawidget.
Containers, scrolled widgets and hierarchal widgets.
Event and action handling.
File selection boxes and dialog megawidgets.
Trees. |
TUTOR and COURSE AUTHOR
Graham Ellis -
graham@wellho.net [
email] [
about Graham]
VENUE
Melksham, Wiltshire
Public courses run at
Well House Manor - our own
purpose fitted training centre and business hotel / conference centre in
Melksham.
• Download Melksham Map - [
pdf file (750k)] • Google Map - [
Link]
PRICE
| 1 student |
2 students |
3 students |
For 4 or more students
from the same company,
please consider a private course. |
With hotel room £720.00 (£846.00 inc VAT) Without room £600.00 (£705.00 inc VAT) |
With hotel rooms £1340.00 (£1574.50 inc VAT) Without rooms £1100.00 (£1292.50 inc VAT) |
With hotel rooms £1960.00 (£2303.00 inc VAT) Without rooms £1600.00 (£1880.00 inc VAT) |
Notes:
• 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.
|
FOLLOW UPS
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 "Opentalk" forum
where you can raise questions. We also encourage you to email the tutor, and
to visit us again to use our library as appropropriate.
Certification? - [
Link]
FOR FURTHER INFORMATION
Public (scheduled) courses --
http://www.wellho.net/course/ctc.html
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 --
http://www.wellho.net/net/terms.html
Covering topics such as delegate substitution, payment, cancellation policy and other matters.