comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: change mouse cursor in draw widget
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: change mouse cursor in draw widget [message #64896 is a reply to message #64895] Thu, 29 January 2009 05:49 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
AndiBiffar@googlemail.com writes:

> i have an interface including a button to be able to move objects in a
> draw widget. In order to inform the user the user that he or she is
> currently in the mode to move objects i would like to change the
> cursor icon.
>
> As far as i understand thsi is only possible if i have defined the
> draw widget as an object using graphics_level=2 in the definition of
> the widget? However if i add this to the definition of my draw widget
> it will be treated like an object and the rest of my programm using
> commands like wset wont work anymore.
>
> Is there an alternative to change the cursor icon? What would be the
> alternative to wset?

Uh, I'm not sure you are understanding all the possible
implications of switching to an object graphics draw widget.
In particular, *everything* about your current program will
change. :-)

But, you can change the cursor shape in direct graphics windows, too.
Check out the CURSOR_IMAGE, CURSOR_STANDARD, and CURSOR_ORIGINAL
keywords to the DEVICE command. You are limited only by your
imagination.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: change mouse cursor in draw widget
Next Topic: ERRPLOT using object Graphics .... ?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 01:31:35 PDT 2025

Total time taken to generate the page: 0.96150 seconds