examples/grip.pl - screen and widget grabbing example
Provided two standalone tests.
The "grip test" copies the graphic content of the widget in a monochrome bitmap, testing the widget representation on a monochrome display. This test is useful together with the launch example, that allows execution of several Prima examples in one task space.
The "grab test" copies the selected region of a screen. Tests the correct implementation of the apc_application_get_bitmap() function, especially on the paletted displays.
To install Prima, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Prima
CPAN shell
perl -MCPAN -e shell install Prima
For more information on module installation, please visit the detailed CPAN module installation guide.