Home

Content

Tko functions to create oo class widgets with option handling:

  • tko_create... class procedures to initialize oo widgets.
  • tko_option class procedure to deal with options.

The C interface is described in tko.3.md.

OO class like widgets:

  • tko::toplevel oo class version of ::toplevel widget.
  • tko::frame oo class version of ::frame widget.
  • tko::labelframe oo class version of ::labelframe widget.
  • tko::graph oo class version of rbc graph widget.
  • tko::path oo class version of tkpath widget.
    • tko::matrix matrix transformations in path
    • tko::style styles in path
    • tko::gradient gradients in path
    • tko::surface surface drawing in path
  • tko::dialog oo class dialog widget
  • tko::dialogbox oo class dialog widget with buttonbox

Additional, tcl only, helper procedures:

  • tko::file read, write, append and tail procedures.
  • tko::grid procedure with support of tooltips, scrollbars, statevars
  • tko::state procedure to support widget state handling

The package was developed with data from tip 556. It can be build with tcl/tk 8.6,8.7 and 9.0. Currently it is using tcl/tk internals!

Sources

The tko repository is hosted at: http://chiselapp.com/user/rene/repository/tko/

Documentation

Documentation is available in md-Format in the .../doc/ directory.

License & support

This work is under BSD license.

Acknowledgements

rbc aka Refactored BLT Components, includes data vectors and graph widgets for developing line and bar graph applications in Tcl/Tk. Original sources are from https://sourceforge.net/projects/rbctoolkit/.

tkpath is a 2D drawing widget for tcl/tk modelled after its SVG counterpart at http://www.w3.org/TR/SVG11/. Original sources are from http://hg.code.sf.net/p/tclbitprint/hg and changes from http://androwish.org.