Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

use Tkx & busy/unbusy

by dallen16 (Sexton)
on Jun 08, 2013 at 13:00 UTC ( [id://1037852]=perlquestion: print w/replies, xml ) Need Help??

dallen16 has asked for the wisdom of the Perl Monks concerning the following question:

So... yesterday I thought I'd write a simple script (AS Perl v5.14 on Win7) using Tkx... instead of Tk. All seems good and even got Tktable to work reasonably well. Though I still haven't figured out the right stuff to set a tag, like -wrap, on an individual cell.

But... I just can't figure out how to invoke busy / unbusy -- or if they even exist in Tkx.

In Tk, it's simply...

$mw->Busy(-recurse => 1); $mw->Unbusy();

But these don't work in Tkx and I can't find the equivalent. In the Tk v8.6 doc's, there's a reference to the tk busy command... but nothing in the v8.5 doc's.

Or what am I missing?

And should I be investing time in some other multi-platform user interface package with Perl?

Many thanks in advance...

Replies are listed 'Best First'.
Re: use Tkx & busy/unbusy ( $mw->g_tk_busy )
by Anonymous Monk on Jun 08, 2013 at 13:26 UTC

      Well Waka Waka... thanks for the reply but $mw->g_tk_busy, which I think should work, doesn't on AS Perl 5.14 on Win7. It also produces an error message shown below.

      Or did you run this in 5.16? And/or do you have Tcl 8.6 installed on what may be a linux system?

      C:\asdf\>perl -e " $Tkx::TRACE=64; use Tkx; Tkx::widget->new(q(.))->g_ +tk_busy()" Tkx-1-0.0s--e-1: tk busy . bad option "busy": must be appname, caret, scaling, useinputmethods, w +indowingsystem, or inactive at -e line 1.

      Or maybe I should look at getting Tcl 8.6 on Win7?

      Thanks for your time and thoughts.

      D D

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-24 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found