problems changing cursor in scribble-simple.c
- From: Cevat Ustun <ustun Glue umd edu>
- To: gtk-app-devel-list gnome org
- Subject: problems changing cursor in scribble-simple.c
- Date: Mon, 26 Feb 2001 12:18:25 -0500 (EST)
In an attempt to change the cursor in scribble-simple.c,
I added the following declaration
GdkCursor *cursor;
and the following lines after the drawing_area declaration:
new_cursor=gdk_cursor_new(GDK_CROSS);
gdk_window_set_cursor(drawing_area->window, new_cursor);
gdk_cursor_destroy (new_cursor);
but I get the error
Gdk-CRITICAL **: file gdkwindow.c: line 1274
(gdk_window_set_cursor): assertion `window != NULL' failed.
and the cursor is not changed. Why?
Cevat
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]