Prima::FrameSet - standard frameset widget
use Prima qw(Application Buttons FrameSet); my $w = Prima::MainWindow->create( size => [300, 150] ); my $frame = $w-> insert( 'FrameSet' => pack => { fill => 'both', expand => 1 }, frameSizes => [qw(60% *)], frameProfiles => [ 0,0, { minFrameWidth => 123 }], ); $frame->insert_to_frame( 0, Button => bottom => 50, text => '~Ok', ); run Prima;
Provides standard means of framesets manipulations. It includes sharing of common workspace among several widget groups; redistribution of space, occupied by frames; isolation of different frames from each other.
This module defines fra:: and frr:: packages for constants, used by arrangement and resizeMethod properties, respectively.
fra::
frr::
Two additional auxiliary packages are defined within this module: Prima::FrameSet::Frame and Prima::FrameSet::Slider.
Vadim Belman, <voland@lflat.org>
Prima, Prima::Widget, examples/frames.pl.
To install Prima, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Prima
CPAN shell
perl -MCPAN -e shell install Prima
For more information on module installation, please visit the detailed CPAN module installation guide.