Version 13 of ntkWidget

Updated 2007-12-01 21:08:27 by apw

ntkWidget is an implementation of widgets similar to the existing Tk widgets (label, frame button, text, entry ...) by apw, which is based on the megapkg, ntk and freetypeext packages written by GPS. The idea is to have images as the base of all widgets and parts thereof. The implementation is derived from the NexTk implemented by GPS.

The implementation is done with an extended version of incr Tcl: itcl-ng, which provides the necessary functionality. Nevertheless it should be possible to use "normal" proc functionality of Tcl to use that package and to build for example megawidgets or GUIs based on the package.

General information on some of the "structuring" used for all of the commands below:

  • color values consist of a RGBA list, example: [list 255 0 255 255]. The first three elements being the R, G and B value, the last one being the alpha value.
  • window path_names by convention start with a "." and the parts are separated with a "." example: .w1.w2.b1

The current commands are:

These are mostly implemented.

Additional commands will be:

The commands are implemented in the ::ntk namespace as ntk namespace ensemble commands, so at least Tcl8.5b1 and Itcl 4.0 (itcl-ng) are necessary.