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.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to