itkvars(3itk)

itkvars3itk

Variables used by [incr tk]


    


    

Overview

The following global variables are created and managed automatically by the [incr Tk] library. Except where noted below, these variables should normally be treated as read-only by application-specific code and by users.

itk::library

When an interpreter is created, [incr Tk] initializes this variable to hold the name of a directory containing the system library of [incr Tk] scripts. The initial value of itk::library is set from the ITK_LIBRARY environment variable if it exists, or from a compiled-in value otherwise.

When [incr Tk] is added to an interpreter, it executes the script "init.itk" in this directory. This script, in turn, looks for other script files with the name "init.xxx". Mega-widget libraries will be automatically initialized if they install a script named "init.xxx" in this directory, where "xxx" is the name of the mega-widget library. For example, the [incr Widgets] library installs the script "init.iwidgets" in this directory. This script establishes the "iwidgets" namespace, and sets up autoloading for all [incr Widgets] commands.

Keywords

itcl, itk, variables

Releases

14 releases since Debian 2.1 (Slink); the text changed 5 times.

  1. 2.1–3.0
  2. 3.1–4.0
  3. 5.0
  4. 6.0–7
  5. 8
  6. 9–13

From itk3-doc 3.4.2-5 in Debian 13 (Trixie). Also shipped by tk-itk4-doc. Parsed by carta from the page's man source.