Tk-Getopt
view release on metacpan or search on metacpan
my $row = -1;
my $msgobj;
if (ref $msglist and
exists $msglist->{$current_top} and
$msglist->{$current_top} ne "") {
$row++;
$msgobj = $current_page->Label(-text => $msglist->{$current_top},
-justify => "left",
)->grid(-row => $row, -column => 0,
-columnspan => 3);
}
foreach $opt (@{$optlist->{$current_top}}) {
my $f = $current_page;
$row++;
if (_is_separator($opt)) {
my $separator = $f->Frame(-height => 2,
)->grid(-row => $row,
-column => 0,
-columnspan => 3,
-pady => 3,
-padx => 3,
-sticky => "ew");
$separator->configure
(-fg => $separator->cget(-bg),
-bg => $separator->Darken($separator->cget(-bg), 60));
next;
}
my $label;
( run in 0.334 second using v1.01-cache-2.11-cpan-a5abf4f5562 )