On Thu, 2008-06-12 at 06:11 -0700, Clive Hobson wrote:
> Karl,
> 
> Gtk::Window::get_window() will return a null reference if the
> Gtk::Window widget hasn't got a Gdk::Window at the time.  I think this
> is the problem you are experiencing.  Some widgets don't have their
> own Gdk::Window ever (look at the reference doco for Gtk::Misc).  A
> widget must be "realize"d to have a Gdk::Window.
[snip]

If Gtk::Window::get_window() returns a null RefPtr (meaning the widget
was not yet realized) then there's probably no point in changing the
cursor over your widget, because your widget is not even visible.

-- 
[EMAIL PROTECTED]
www.murrayc.com
www.openismus.com

_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to