Tk Library Source Code

Documentation
Login


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

NAME

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

Table Of Contents

SYNOPSIS

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

DESCRIPTION

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.

API

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.

KEYWORDS

canvas, enter callback, highlighting, leave callback