| Store | Cart

Re: cursor manipulation

From: Jeff Hobbs <jef...@activestate.com>
Sun, 15 Feb 2015 12:39:17 -0800
It's possible the lack of an update() is what is needed, but note that
setting the cursor on the toplevel (I'm assuming that's what type $wDB is)
only applies the cursor to descendants that do not have their own cursor
type set. Widgets like entry and text have their own cursor type, so you'd
need a utility procedure to manage a full widget tree.

Jeff

On Sun, Feb 15, 2015 at 12:01 PM, Mike Ignatoski <mai_...@comcast.net>
wrote:

> I have a Tkx perl app and I'd like to change the cursor during a lengthy> operation.>> Here is my code, but it doesn't work (although it doesn't generate any> errors):>>          $wDB_window->configure ( -cursor=>'watch');>          perform_lengthy_operation();>          $wDB_window->configure ( -cursor=>'left_ptr' );>> Any advice is appreciated.>> Thanks,>> --> Mike>> _______________________________________________> ActivePerl mailing list> Acti...@listserv.ActiveState.com> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs>

_______________________________________________
ActivePerl mailing list
Acti...@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Recent Messages in this Thread
Mike Ignatoski Feb 15, 2015 08:01 pm
Jeff Hobbs Feb 15, 2015 08:39 pm
Messages in this thread
Previous post: cursor manipulation
Next post: Perl - ECCN Request