Tk Library Source Code

Bounty program for improvements to Tcl and certain Tcl packages.

[ Main Table Of Contents | Table Of Contents | Keyword Index | Categories | Modules | Applications ]


canvas::highlight - Manage the highlighting of canvas items or item groups

Table Of Contents


package require Tcl 8.5
package require Tk 8.5
package require canvas::highlight ?0.1?

::canvas::highlight on canvas tagOrId cmd
::canvas::highlight off canvas tagOrId
{*}cmd on canvas item
{*}cmd off canvas clientdata


This package provides utility commands for setting up and tearing down of highlights for canvas items or item groups, the latter identified by a tag.


Highlight callback

The highlight callback is a command prefix invoked in the following two ways:

Bugs, Ideas, Feedback

This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category canvas of the Tklib Trackers. Please also report any ideas for enhancements you may have for either package and/or documentation.


canvas, enter callback, highlighting, leave callback