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 <firstname.lastname@example.org>