1Prima::FrameSet(3) User Contributed Perl Documentation Prima::FrameSet(3)
2
3
4
6 Prima::FrameSet - standard frameset widget
7
9 use Prima qw(Application Buttons FrameSet);
10
11 my $w = Prima::MainWindow->create( size => [300, 150] );
12
13 my $frame = $w-> insert( 'FrameSet' =>
14 pack => { fill => 'both', expand => 1 },
15 frameSizes => [qw(60% *)],
16 frameProfiles => [ 0,0, { minFrameWidth => 123 }],
17 );
18
19 $frame->insert_to_frame( 0, Button =>
20 bottom => 50,
21 text => '~Ok',
22 );
23
24 run Prima;
25
27 Provides standard means of framesets manipulations. It includes sharing
28 of common workspace among several widget groups; redistribution of
29 space, occupied by frames; isolation of different frames from each
30 other.
31
32 This module defines "fra::" and "frr::" packages for constants, used by
33 arrangement and resizeMethod properties, respectively.
34
35 Two additional auxiliary packages are defined within this module:
36 Prima::FrameSet::Frame and Prima::FrameSet::Slider.
37
39 Vadim Belman, <voland@lflat.org>
40
42 Prima, Prima::Widget, examples/frames.pl.
43
44
45
46perl v5.38.0 2023-07-21 Prima::FrameSet(3)