Re: how to hide mouse cursor (GTK + CPP)?



On Wed, Jan 26, 2005 at 03:31:06PM +0100, ALLs soft wrote:
gdk_window_set_cursor(GDK_WINDOW(window), cursor);

GDK_WINDOW(window) is not widget->window.  Widgets are not
GdkWindows (they *contain* GdkWindows), so you can't cast
them to, and you should get a Crtical message here...

gtk_widget_show (window);

And widget->window makes sense to access only *after*
gtk_widget_show(widget).

Yeti


--
Dynamic IP address is not a crime.



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