Exercises, examples and other material relating to training module T246. This topic is presented on public course Tcl/Tk
MegaWidgets are combination widgets (usually in their own frames). The Tix extension to Tcl provides a number of such widgets, such as file selection boxes and standard widgets with scroll bars. In this module, we teach you how to build Tix megawidgets into your GUI and how to set and handle the events they generate.
|Articles and tips on this subject||updated|
|1327||Tktable - Laying out data in a matrix - Tcl/Tk|
There's a very common requirement to tabulate data within a GUI, but neither Java (in awt) or Tcl (in Tk) had the facility built in from "day 1". In Java, you now have Jtable within Swing ([example]) and in Tcl you can use a Tktable.
Although Tktable isn't part of standard Tk, you'll find it as a part ...
Examples from our training material
|tix001|| Tix Control widget demonstration|
|tix003|| Tix Demonstration of standard widget options|
|tix004|| Practical demo - Tix MegaWidget|
|tix005|| Tix Control - feedback into widgets|
|tix007|| - mulitple feedbacks on Tix MegaWidgets|
|tixbunch|| Showing a selection ot Tix Megawidgets|
|tixfs|| Tix File selection application|
|tixtree|| Tix - Tree of big files below a specified directory|
This module is available under an Open Training Notes License
for free download from http://www.training-notes.co.uk
Topics covered in this module
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.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if you live in a different
country or continent to us
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre. Also
available is the Opentalk
Forum for discussion of technical questions.