1Prima::Widgets(3) User Contributed Perl Documentation Prima::Widgets(3)
2
3
4
6 Prima::Widgets - miscellaneous widget classes
7
9 The module was designed to serve as a collection of small widget
10 classes that do not group well with the other, more purposeful classes.
11 The current implementation contains the only class, "Prima::Panel".
12
14 Provides a simple panel widget, capable of displaying a single line of
15 centered text on a custom background. Probably this functionality is
16 better to be merged into "Prima::Label"'s.
17
18 Properties
19 borderWidth INTEGER
20 Width of 3d-shade border around the widget.
21
22 Default value: 1
23
24 image OBJECT
25 Selects image to be drawn as a tiled background. If "undef", the
26 background is drawn with the background color.
27
28 imageFile PATH
29 Set the image FILE to be loaded and displayed. Is rarely used since
30 does not return a loading success flag.
31
32 raise BOOLEAN
33 Style of 3d-shade border around the widget. If 1, the widget is
34 'risen'; if 0 it is 'sunken'.
35
36 Default value: 1
37
38 zoom INTEGER
39 Selects zoom level for image display. The acceptable value range
40 is between 1 and 10.
41
42 Default value: 1
43
45 Dmitry Karasik, <dmitry@karasik.eu.org>.
46
48 Prima
49
50
51
52perl v5.30.1 2020-01-30 Prima::Widgets(3)