Scroll to navigation

Prima::FrameSet(3) User Contributed Perl Documentation Prima::FrameSet(3)

NAME

Prima::FrameSet - standard frameset widget

SYNOPSIS

        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;

DESCRIPTION

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.

Two additional auxiliary packages are defined within this module: Prima::FrameSet::Frame and Prima::FrameSet::Slider.

AUTHOR

Vadim Belman, <voland@lflat.org>

SEE ALSO

Prima, Prima::Widget, examples/frames.pl.

2023-09-05 perl v5.26.1