Re: Getting the "busy" cursor to display.

On 11 April 2012 09:25, James Tappin <jtappin gmail com> wrote:

On 11 April 2012 04:36, <jcupitt gmail com> wrote:

On 10 April 2012 18:33, James Tappin <jtappin gmail com> wrote:
Thanks for the suggestion. Unfortunately in this case it doesn't help.
have also tried gdk_display_flush and gdk_window_flush, but still the

Here's a tiny test program that works for me with gtk2. It just uses:

 gdk_window_set_cursor( win->window, busy_cursor );


That program works, as does a translation into Fortran. But I'm still not
having any joy with my display monitor. Maybe the only convenient fix is to
show a window with a message "Reading database" during the read and then
create the monitor afterwards.

To Igor: I thought that a progress bar in activity mode had to be prodded
to show the animation, which is not possible while I'm doing the read.

I'm now really confused -- I've reordered some of the code so that the
set_cursor call precedes putting a message in the status bar. And the
status bar updates but not the cursor.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]