Re: Change cursor



Am Thu, 27 Oct 2005 12:03:18 -0500 schrieb Bob Caryl:

> >So how do I change the mouse cursor?
> >
> >
> My bet is that your code is run before your window has been
> realized. Hence the Gdk::Window pointer returned by get_frame() is no
> good.

Hm, I run this code in a member function of a class that inherit from
Gtk::Window. So I think it's realized. But I tried to run realize()
just before I call this function, without better results.

Has someone a small and working example to change the mouse cursor?

regards
Andreas



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]