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
| • Thursday 30 September 2010 | • Monday 20 December 2010 |
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 and
Learning to program in Tcl
courses.
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
| A Review of Tcl and Tk Basics (module T248) Language constructs.
Basic command syntax.
Variables.
Lists.
Arrays.
Procs.
Regular expressions.
Tcl Commands.
Basic commands.
Loop and control commands.
String handling commands.
List commands.
Array commands.
Handling files.
Other commands in Tcl.
Special variable in Tcl.
Tk Overview.
Widgets.
Geometries.
Events.
|
| Introduction to Tk (module T216) Hello Tcl/Tk World.
Tcl/Tk supported platforms.
Sourcing Tcl/Tk.
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.
Resources.
State.
Design notes.
The pack geometry manager.
Changing how pack works.
More flexible packing.
Frames.
Frame hierarchy.
The parent frame.
The window manager command.
Button presses and other events.
Summary.
|
| Geometry Managers (module T218) The grid geometry manager.
Sizing and filling cells.
Managing rows and columns.
Cells that span several rows or columns.
.
Placing geometry.
|
| Drawing on Canvases (module T219) Canvas basics.
Canvas and Canvas objects.
Interacting with drawing objects.
Canvas objects.
The rectangle (rect) object.
.
The oval object.
The polygon object.
The arc object.
The line object.
The text object.
Computer graphics - techniques.
Coordinate systems.
Clipping.
Display lists.
Hidden line and surface.
Further issues.
|
| Frames and Other Topics (module T220) Nesting frames.
The outer frame.
The first inner frame.
The second inner frame.
Completed application.
Top-level widgets.
Labels and Messages.
Scales.
|
| Menus (module T221) Simple pulldown menu.
Options for pulldown menus.
Menu bars.
Enhancements.
|
| Resources (module T222) Introduction.
The resource hierarchy.
Loading the resource database.
Resource names.
Setting resources by class and widget type.
Resource priorities.
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 indices.
Text marks and tags.
Index arithmetic.
Editing facilities.
Other operations on text widgets.
|
| Events in Tk (module T224) Binding tags and events.
Binding Tags.
Events.
Keys and Buttons.
Mouse Movements.
Window Happenings.
OS Specific.
Event keywords.
|
| 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.
Container Widgets.
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.
Tree Widgets.
|
TUTOR and COURSE AUTHOR
Graham Ellis -
graham@wellho.net [
email] [
about Graham]
VENUE
Melksham, Wiltshire
, England. A taxi transfer can be arranged if you'll be
arriving by air
from United States.
Private Courses 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
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 $1180.00 ($1386.50 inc VAT) or £720.00 (£846.00 inc VAT) Without room $1000.00 ($1175.00 inc VAT) or £600.00 (£705.00 inc VAT) |
With hotel rooms $2260.00 ($2655.50 inc VAT) or £1340.00 (£1574.50 inc VAT) Without rooms $1900.00 ($2232.50 inc VAT) or £1100.00 (£1292.50 inc VAT) |
With hotel rooms $3340.00 ($3924.50 inc VAT) or £1960.00 (£2303.00 inc VAT) Without rooms $2800.00 ($3290.00 inc VAT) or £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
"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 --
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.