Tk::HideCursor - Hide the cursor when it passes over your widget
use Tk::HideCursor; $widget->hideCursor; $widget->showCursor;
Adds methods to the Tk::Wm base class so that any widget may hide the cursor
Hide the mouse cursor when it's over $widget.
Show the cursor again (should return to the previous specified cursor - if any)
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.
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.
Tk
Win32::API
To install Tk::HideCursor, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tk::HideCursor
CPAN shell
perl -MCPAN -e shell install Tk::HideCursor
For more information on module installation, please visit the detailed CPAN module installation guide.