GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Prima::ExtLists(3) User Contributed Perl Documentation Prima::ExtLists(3)

Prima::ExtLists - extended functionality for list boxes

        use Prima qw(ExtLists Application);

        my $vec = '';
        vec( $vec, 0, 8) = 0x55;
        Prima::CheckList-> new(
                items  => [1..10],
                vector => $vec,
        );
        run Prima;

The module is intended to be a collection of list boxes with particular enhancements. Currently the only package is contained is "Prima::CheckList" class.

Provides a list box, where each item is equipped with a check box. The check box state can interactively be toggled by the enter key; also the list box reacts differently by click and double click.

button INDEX, STATE
Runtime only. Sets INDEXth button STATE to 0 or 1. If STATE is -1, the button state is toggled.

Returns the new state of the button.

vector VEC
VEC is a vector scalar, where each bit corresponds to the check state of each list box item.

See also: "vec" in perlfunc.

clear_all_buttons
Sets all buttons to state 0
set_all_buttons
Sets all buttons to state 1

Dmitry Karasik, <dmitry@karasik.eu.org>.

Prima, Prima::Lists, examples/extlist.pl
2022-04-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.