in reply to Give me my gui back!
#!/usr/bin/perl -w use Tk; use Tk::ExecuteCommand; use Tk::widgets qw/LabEntry/; use strict; my $mw = MainWindow->new; my $ec = $mw->ExecuteCommand( -command => '', -entryWidth => 50, -height => 10, -label => '', -text => 'Execute', )->pack; $ec->configure(-command => 'date; sleep 10; date'); $ec->execute_command; MainLoop;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Give me my gui back!
by Bagarre (Sexton) on Nov 18, 2003 at 19:28 UTC | |
by iburrell (Chaplain) on Nov 19, 2003 at 00:14 UTC | |
|
Re: Re: Give me my gui back!
by Anonymous Monk on Nov 19, 2003 at 10:41 UTC | |
|
Re: Re: Give me my gui back!
by Anonymous Monk on Nov 19, 2003 at 10:44 UTC |