Wonderful!

At least I get a mouse cursor of an hourglass via
-cursor => 'watch'
building on your suggestion. Interestingly, I lose the
-relief => 'sunken'
effect unless I include this specifically within the "Busy" call. Trying to sneak in other options such as 'text', 'background', and 'foreground' seems to have no effect, thus these options are commented out in my snippet.

Thanks,
Brig

my $Customized_Command_b; $Customized_Command_b = $tl->Button( -textvariable => \$Custom_Command_label, # previously defined -underline => 0, -borderwidth => $bd_width, -command => sub { $Customized_Command_b->Busy( '-recurse' => 1, -cursor => 'watch', #-text => 'Processing...', -relief => 'sunken', #-background => 'blue', #-foreground => 'blue', ); system $custom_command, @arguments, $formdir, $dir and warn "'Custom Command' problem: ", $? >> 8, "\n" and $ccmd_rc = 1 ; if ($ccmd_rc) { $View_Custom_Log_cb->configure( -background => "red1", -activebackground => "red1", ); } $Customized_Command_b->Unbusy( '-recurse' => 1 ); $tl->raise(); }, )->grid( -column => 5, -row => 14, -columnspan => 6, -sticky => 'nsew', );

In reply to Re: Tk button appearance while its callback runs by Anonymous Monk
in thread Tk button appearance while its callback runs by ff

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.