Thread Pulldown-Menü Tk (14 answers)
Opened by use_Tk at 2011-04-26 19:47

pq
 2011-04-27 11:56
#148019 #148019
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
ist in CPAN:Tk::Optionmenu dokumentiert.
Code: (dl )
1
2
3
4
5
           $opt = $w->Optionmenu(
-options => REFERENCE_to_OPTIONLIST,
-command => CALLBACK,
-variable => SCALAR_REF,
);


also
Code (perl): (dl )
1
2
3
4
5
my $var;
$w->Optionmenu(
    ...
    -variable => \$var,
);
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread Pulldown-Menü Tk