vikee has asked for the wisdom of the Perl Monks concerning the following question:
Hi there :) I'm trying to use the above module under WinXP and it doesn't execute the command - show any output in the ROText window. can you plese help me?
#/usr/bin/perl use Tk; use Tk::ExecuteCommand; $mw = MainWindow->new; $executecommand = $mw->ExecuteCommand(-height => 10, -scrollbars => 'o +se', bg => 'white')->pack(-expand => 'yes', -fill =>'both'); $executecommand->terse_gui; $executecommand->bell; $executecommand->update; $executecommand->configure(-command => 'set'); #for example my $b_stopstart = $mw->Button(-text => "execute", -width => 12, -command => sub { $executecommand->execute_command; } )->pack(-side => 'right'); MainLoop;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tk::ExecuteCommand problem
by zentara (Cardinal) on Jul 11, 2005 at 18:16 UTC | |
by vikee (Sexton) on Jul 12, 2005 at 10:35 UTC |