Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: DialogBox that persists awhile

by kcott (Archbishop)
on Jul 06, 2020 at 06:36 UTC ( [id://11118951]=note: print w/replies, xml ) Need Help??


in reply to DialogBox that persists awhile

G'day DcmbrAgnt,

"... display status on its execution."

I'm having some problems envisaging what you want to do here. If it's a simple action, then some form or status bar might be appropriate. Perhaps it's a long-running action and you want a progress bar. If there are multiple messages that you want to keep, maybe report those in their own widget.

"Could it all be done inside the same Perl script as the program, ..."

You can use Tk::Toplevel in your Tk script. You can customise this however you want.

"I've read that Tk::Derived ... but I've never done that before."

I wrote some information on that just a few weeks ago: "Re: Writing my first PERL/Tk megawidgit".

— Ken

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11118951]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-19 23:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found