Tk::Xcursor - interface between Tk and the X cursor management library
use Tk::Xcursor; Tk::Xcursor::SupportsARGB($mw) or warn "This display does not support ARGB cursors"; my $xcursor = Tk::Xcursor::LoadCursor("/path/to/xcursor"); $xcursor->Set($tk_widget);
The Xcursor(3) library has support for advanced cursor management. Xcursor allows the definition of cursors with an alpha channel (ARGB), and it allows animated cursors. See xcursorgen(1) for a tool creating files suitable for Xcursor.
Functions cannot be exported and have therefore be fully qualified.
Return a true value if the $tk_widget's display supports ARGB cursors.
Load the Xcursor specified by $path and return a Tk::Xcursor object.
Set the cursor to the given Tk widget.
This module works only on (modern) X11 systems.
Slaven Rezic <srezic@cpan.org>
Xcursor(3), xcursorgen(1), Tk.
To install Tk::Xcursor, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tk::Xcursor
CPAN shell
perl -MCPAN -e shell install Tk::Xcursor
For more information on module installation, please visit the detailed CPAN module installation guide.