Re: Problem with changing cursor



G Hasse <gh raditex se> writes:

I try to set a cursor for my window.


  new_cursor = gdk_cursor_new( GDK_HAND2 );
  gdk_window_set_cursor( window , new_cursor );
  gdk_cursor_destroy( new_cursor );

but this don't seem to work. What puzzel me is that
it should be quite simple, and yet...

What is interfering?


Are you sure window is non-NULL and a GdkWindow? (not GtkWindow)

Does window belong to a widget that sets the cursor itself, like the
text widget?

Havoc



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