The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Tk::HideCursor - Hide the cursor when it passes over your widget

SYNOPSIS

        use Tk::HideCursor;
        $widget->hideCursor;
        $widget->showCursor;

DESCRIPTION

Adds methods to the Tk::Wm base class so that any widget may hide the cursor

METHODS

$widget->hideCursor();

Hide the mouse cursor when it's over $widget.

$widget->showCursor();

Show the cursor again (should return to the previous specified cursor - if any)

BUGS

Under Win32, Tk cursor handling is (currently) very basic. Hiding is achieved using the Win32::API. This has the limitation that the cursor is hidden for all widgets, not just the specified one.

AUTHOR

This module is Copyright (c) 2002 Gavin Brock gbrock@cpan.org. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Tk

Win32::API