1Prima::Widget::IntIndenUtsse(r3)Contributed Perl DocumenPtraitmiao:n:Widget::IntIndents(3)
2
3
4

NAME

6       Prima::Widget::IntIndents - indenting support
7

DESCRIPTION

9       Provides the common functionality for the widgets that delegate part of
10       their surface to the border elements. A list box can be of an example,
11       where its scroll bars and 3-d borders are such elements.
12

Properties

14       indents ARRAY
15           Contains four integers, specifying the breadth of decoration
16           elements for each side. The first integer is width of the left
17           element, the second - height of the lower element, the third -
18           width of the right element, the fourth - height of the upper
19           element.
20
21           The property can accept and return the array either as a four
22           scalars, or as an anonymous array of four scalars.
23
24   Methods
25       get_active_area [ TYPE = 0, WIDTH, HEIGHT ]
26           Calculates and returns the extension of the area without the border
27           elements, or the active area.  The extension are related to the
28           current size of a widget, however, can be overridden by specifying
29           WIDTH and HEIGHT. TYPE is an integer, indicating the type of
30           calculation:
31
32           TYPE = 0
33               Returns four integers, defining the area in the inclusive-
34               exclusive coordinates.
35
36           TYPE = 1
37               Returns four integers, defining the area in the inclusive-
38               inclusive coordinates.
39
40           TYPE = 2
41               Returns two integers, the size of the area.
42

AUTHOR

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

SEE ALSO

47       Prima, Prima::Widget
48
49
50
51perl v5.38.0                      2023-07-21      Prima::Widget::IntIndents(3)
Impressum