Poster of Linux kernelThe best gift for a Linux geek
Prima::Widgets

Prima::Widgets

Section: User Contributed Perl Documentation (3) Updated: 2009-02-24
Local index Up
 

NAME

Prima::Widgets - miscellaneous widget classes  

DESCRIPTION

The module was designed to serve as a collection of small widget classes that do not group well with the other, more purposeful classes. The current implementation contains the only class, "Prima::Panel".  

Prima::Panel

Provides a simple panel widget, capable of displaying a single line of centered text on a custom background. Probably this functionality is better to be merged into "Prima::Label"'s.  

Properties

borderWidth INTEGER
Width of 3d-shade border around the widget.

Default value: 1

image OBJECT
Selects image to be drawn as a tiled background. If "undef", the background is drawn with the background color.
imageFile PATH
Set the image FILE to be loaded and displayed. Is rarely used since does not return a loading success flag.
raise BOOLEAN
Style of 3d-shade border around the widget. If 1, the widget is 'risen'; if 0 it is 'sunken'.

Default value: 1

zoom INTEGER
Selects zoom level for image display. The acceptable value range is between 1 and 10.

Default value: 1

 

AUTHOR

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

SEE ALSO

Prima


 

Index

NAME
DESCRIPTION
Prima::Panel
Properties
AUTHOR
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:53:01 GMT, April 16, 2011