Scroll to navigation

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

NAME

Prima::FrameSet - 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 the standard frameset widget. The frameset divides its surface among groups of children and allows interactive change of the surface by dragging the frame bars with the mouse.

This module defines the "fra::" and "frr::" constants used by the arrangement and resizeMethod properties, respectively.

AUTHOR

Vadim Belman, <voland@lflat.org>

SEE ALSO

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

2024-02-01 perl v5.38.2