Thread Neue Frage zu Tk und Buttons! (1 answers)
Opened by renee at 2005-09-06 11:20

renee
 2005-09-06 11:20
#44611 #44611
User since
2003-08-04
14371 articles
ModeratorIn
[Homepage] [default_avatar]
Entweder kannst Du es so machen:
Code: (dl )
1
2
3
4
if($schritt == 2)  {
$button->destroy();
my $new_btn = $mw->Button(...)->pack();
}


oder:
Code: (dl )
1
2
3
if($schritt == 2){
$button->configure(-text => 'neuer Text', -command => \&newCommand);
}
\n\n

<!--EDIT|renee|1125991257-->
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread Neue Frage zu Tk und Buttons!