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