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


Tk-HideCursor documentation  | view source Contained in the Tk-HideCursor distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

DESCRIPTION

Top

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

Top

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

Top

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

Top

Tk

Win32::API


Tk-HideCursor documentation  | view source Contained in the Tk-HideCursor distribution.