Re: Problem with changing cursor
- From: Havoc Pennington <hp redhat com>
- To: G Hasse <gh raditex se>
- Cc: gtk <gtk-app-devel-list gnome org>
- Subject: Re: Problem with changing cursor
- Date: 26 Jan 2002 18:49:42 -0500
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]