mouse cursor



Hi, 
  I need to change mouse cursor when I sort items in clist. I have
callback function to button:

{
  GdkCursor *cursor;

  cursor = gdk_cursor_new(GDK_WATCH);
  gdk_window_set_cursor(MainWindow->window, cursor);
  ...
  Sort();
  ...
  gdk_cursor_destroy(cursor);
}

but cursor changes when this callback function ends. Is there some
limitation that I couldn't change cursor in calback function or I'm doing
wrong something else?

					Jen~a



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