Prima::FrameSet(3)
π NAME π
Prima::FrameSet β it's the frameset widget, bestie. that's the whole name. that's the whole vibe.
(this one's from the User Contributed Perl Documentation corner of the manual, hi, welcome π«Ά)
β¨ SYNOPSIS β¨
ok so here's literally the whole thing, copy it, run it, slay:
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;
likeβ¦ look at it. frameSizes with a 60% and a *? frameProfiles with an inline { minFrameWidth => 123 }? the way this just works?? iconic. π₯
π¦ DESCRIPTION π¦
so <rainbow>Prima::FrameSet</rainbow> gives you the standard frameset widget. that's the whole serve. π
what it actually does, bestie: the frameset divides its surface among groups of children, and it lets you interactively change that surface by dragging the frame bars with the mouse. yes, with the mouse. drag it. go off. π±οΈβ¨
and the little detail nobody tells you β this module defines the fra:: and frr:: constants, which get used by the arrangement and resizeMethod properties respectively. say it with me: fra:: β arrangement, frr:: β resizeMethod. iykyk. π
π AUTHOR π
Vadim Belman, <voland@lflat.org> β thank you for the widget, king. π«‘
πΈ SEE ALSO πΈ
Primaβ the whole ecosystem, start herePrima::Widgetβ the widget situationexamples/frames.pl.β an actual example file, go look at it fr fr
π sign-off π
this page ships with perl v5.42.0, dated 2024-08-20, and it's Prima::FrameSet(3) β periodt. π©·β¨ go drag some frame bars, you earned it. π§
π¦ where this page comes from
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms