Hi,
You can do it directly with GDK too.
In this way you can show/hide the cursor whenever you want.
Here's a sample code that worked for me:
GtkWidget *widget;
gchar bits[] = {0};
GdkColor color = {0, 0, 0, 0};
GdkPixmap *pixmap;
GdkCursor *cursor;
gtk_init (&argc, &argv);
widget = gtk_win
I'm not sure this will work, as gdk_cursor_new_from_pixmap() is badly
implemented in gdkdfb (see bug 330420).
cheers
Attilio
Pedro Aguilar wrote:
> Hi,
>
> You can do it directly with GDK too.
> In this way you can show/hide the cursor whenever you want.
> Here's a sample code that worked for