[wxPython] BeginBusyCursor

Hi Robin,

I tested the same code in windows and itz working fine and busycursor is
displayed. But in solaris itz not displaing like that.

I check the demo in Solaris, and it is displaying the busycursor.

the version of wxPython i'm usign is 2.3.0.

Still i cann't understand why the busy cursor is not displaying for my
application in solaris. While itz working fine for demo in same environment.

I've written a sample test code and tested the same in windows and solaris.
The waiting cursor is displayed only in windows.

I've attached the test code as well.

Regards,
Maharajan

wait_test.ZIP (728 Bytes)

···

-----Original Message-----
From: Robin Dunn [mailto:robin@alldunn.com]
Sent: Thursday, June 13, 2002 3:06 AM
To: wxpython-users@lists.wxwindows.org
Subject: Re: [wxPython] BeginBusyCursor

I'm trying to show the busycursor while the program is busy

in doing the

backend task..

I tried below two calls and in between i placed code for the

backend task

wxBeginBusyCursor()
wxEndBusyCursor()

like the demo,

but it seems that it isnpt displying the busy cursor whild doing the

backend

task.

Which platform?

There is also a helper class that you can use that
automatically ends the
busy cursor when the instance is deleted for example:

   def DoSomeLongThing():
       busy = wxBusyCursor()
       DoStuff()

When busy is deleted then the cursor is restored.

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users

I tested the same code in windows and itz working fine and busycursor is
displayed. But in solaris itz not displaing like that.

I check the demo in Solaris, and it is displaying the busycursor.

the version of wxPython i'm usign is 2.3.0.

Your sample is working for me in my 2.3.3 workspace. You may want to
upgrade at least to 2.3.2. You could also try calling wxSafeYield or
wxYield after calling wxBeginBusyCursor().

A little off topic, but I'm interested in your experiences with wxPython on
Solaris. Did you build with GNU C++ or with SunCC? Did you have any build
troubles that you had to work around? Which version of Python are you
using? Which Solaris is it? Which glib/gtk? Did you build them yourself
or use prebuilt packages?

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!