Events inside of Windows

Defining event handlers for Tk Canvas, TkZinc 3.3.4, TkPath and Tk Text-Tags is the same as for windows inside Jeszra. However the technical details vary a great deal and also the generated code.

Jeszra only generates code for event handlers associated (bind) with the window path name. In contrast to this every tag is retrieved for TkZinc 3.3.4, TkPath and Tk canvas object!

The Inspector displays and maintains only event handlers for the left-most tag; in case of TkZinc 3.3.4 only the type of the graphical object extended with a number. For a canvas and TkPath the left-most tag is similar to a window path name and serves as an identifier. »-tags« is a object property listing all the tags associated with this object.

Event handler for other tags can be defined via the shell as-well. And code is being generated for these event handlers, too.

The »-tags« property provides the functionality of »bindtags« for a graphical object.

Figure 8.4. The Tags Property