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
App::ZFSCurses::WidgetFactory(3) User Contributed Perl Documentation App::ZFSCurses::WidgetFactory(3)

App::ZFSCurses::WidgetFactory - Create widgets.

Version 1.212.

Create an instance of App::ZFSCurses::WidgetFactory.

Search a value in an array. Return the value index if found. Return -1 if not found.

Select the right widget to create. This method expects a property list as first argument. It will then check for its type, create the widget accordingly and return it.

Make a widget depending on the property type. This method expects a property and, sometimes, the current value (selected in the UI). This method is called from the UI module when a user selects a property and wants to change it.

Set the container that will contain the created widget.

Read the DATA handle and fill the property hash. __DATA__ contains a list of key value pairs that represent a property and its possible values. Note: the ALNUM value means the property is alphanumerical and a textfield has to be created to be shown to the user. Otherwise, a radio button box is created with the possible values. See the widget_selector function.

Return the properties hash.

Check whether a property is read only (cannot be changed).

Patrice Clement <monsieurp at cpan.org>

This software is copyright (c) 2020 by Patrice Clement.

This is free software, licensed under the (three-clause) BSD License.

See the LICENSE file.

2020-08-10 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.