Re: how to hide mouse cursor (GTK + CPP)?
- From: "David Necas (Yeti)" <yeti physics muni cz>
- To: ALLs soft <info alls org>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: how to hide mouse cursor (GTK + CPP)?
- Date: Wed, 26 Jan 2005 17:39:16 +0100
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]