Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Default Cursor Behavior
Default Cursor Behavior [message #640083] Fri, 19 November 2010 01:15 Go to next message
AppleJus Mising name is currently offline AppleJus Mising name
Messages: 46
Registered: July 2010
Member
Hello there,

I have an e4 application made of simple parts in a sash.
The default behavior of the cursor is an arrow everywhere except when resizing the sash (cursor becomes a resizing cursor).

Somewhere in my code I am changing the cursor to the CURSOR_WAIT type, because I am fetching data from the database...
After fetching is done, I would like to restore the normal app cursor behavior. What I am doing now is changing the cursor to CURSOR_ARROW, but that does not give me the normal behavior described above, it just gives me an arrow cursor everywhere I move my mouse...

Thanks for any help!!!
Re: Default Cursor Behavior [message #640298 is a reply to message #640083] Sat, 20 November 2010 08:00 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5434
Registered: July 2009
Senior Member
Should you set the cursor back to null?

Tom

Am 19.11.10 02:15, schrieb AppleJus:
> Hello there,
>
> I have an e4 application made of simple parts in a sash.
> The default behavior of the cursor is an arrow everywhere except when
> resizing the sash (cursor becomes a resizing cursor).
>
> Somewhere in my code I am changing the cursor to the CURSOR_WAIT type,
> because I am fetching data from the database...
> After fetching is done, I would like to restore the normal app cursor
> behavior. What I am doing now is changing the cursor to CURSOR_ARROW,
> but that does not give me the normal behavior described above, it just
> gives me an arrow cursor everywhere I move my mouse...
>
> Thanks for any help!!!
Re: Default Cursor Behavior [message #641334 is a reply to message #640298] Thu, 25 November 2010 04:01 Go to previous message
AppleJus Mising name is currently offline AppleJus Mising name
Messages: 46
Registered: July 2010
Member
Thank you! It works by setting to null...!
Previous Topic:e4: Programmatically resizing a sash container
Next Topic:Scrollable e4 application
Goto Forum:
  


Current Time: Sat Nov 01 12:04:04 GMT 2014

Powered by FUDForum. Page generated in 0.11944 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software