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 12:48:07 +0100
On Wed, Jan 26, 2005 at 11:13:16AM +0100, ALLs soft wrote:
Please send example if you have it.
guchar bits[] = { 0 };
GdkColor color = { 0, 0, 0, 0 };
GdkPixmap *pixmap;
GdkCursor *cursor;
pixmap = gdk_bitmap_create_from_data(NULL, bits, 1, 1);
cursor = gdk_cursor_new_from_pixmap(pixmap, pixmap, &color, &color, 0, 0);
gdk_window_set_cursor(widget->window, cursor);
Yeti
--
Dynamic IP address is not a crime.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]