GNOME Bugzilla – Bug 91922
No way to get default Gdk::Cursor
Last modified: 2004-12-22 21:47:04 UTC
Some methods (like gdk_window_set_cursor and gnome_canvas_item_grab) use 0 for their GdkCursor* argument to indicate a (re)setting of the default cursor. There's no way to get this cursor with Gdkmm. One possibility would be a static get_default() method in Gdk::Cursor that returned some special Gdk::Cursor that returns 0 in gobj()
It's really the "parent's cursor" rather than the "default cursor". I'm not sure that I want a Gtk::Cursor(bool use_the_parents_cursors_whenever_this_gtkmmcursor_is_used) constructor. Both Gdk::Window::set_cursor() and Gnome::Canvas::Item::grab() already have overloads that allow the use of the parent's cursor instead of specifying one.
So, should I close this as NOTABUG?
Yes