Hi All, I have this simple application which has some buttons and some custom controls. I want to hide the cursor for the complete application. I have seen this code in the posts here: ################################################### char invisible_cursor_bits[] = { 0x0 }; GdkCursor* cursor; GdkBitmap *empty_bitmap; GdkColor color = { 0, 0, 0, 0 }; empty_bitmap = gdk_bitmap_create_from_data (gTopLevelWindow->window, invisible_cursor_bits, 1, 1); cursor = gdk_cursor_new_from_pixmap (empty_bitmap, empty_bitmap, &color, &color, 0, 0); gdk_window_set_cursor(gTopLevelWindow->window, cursor); gdk_cursor_destroy(cursor); // gdk_window_set_cursor(scrolledWindow->window, cursor); ################################################### Now I have used this code to hide the cursor,but it does this only on a button click and reappears after the focus moves away from the buttons to other custom controls. How can I hide/show for the complete cursor? Any other API or call to do the same? Thanks. --eminemence. -- View this message in context: http://www.nabble.com/How-to-hide-cursor-for-the-complete-window--tf4345791.html#a12381000 Sent from the Gtk+ - Apps Dev mailing list archive at Nabble.com.
_______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list