On Wed, 5 Mar 2008 16:36:30 +0100
Andreas Rönnquist <[EMAIL PROTECTED]> wrote:

> > 
> > Thanks for the help guys!
> >     
> > I have managed to get my links showing as I like, but I have problems with 
> > the mouse-over effect... It's working some-what - But I can't get the mouse 
> > updated as it should.
> > 
> > I am checking for the event GDK_MOTION_NOTIFY, (through a g_signal_connect 
> > with "motion-notify-event" and then use gdk_window_set_cursor to update the 
> > mousepointer, but as I said, it doesn't actually update the mousecursor 
> > until I either click on the text, or press a key on the keyboard. I would 
> > like it to change by just hovering above the links.
> > 
> > Has anyone run into similar problems?
> > 
> 
> hmm.. this is getting stranger - Running the program on my Windows box, it 
> works flawlessly, but on my Linux machine I get the above mentioned 
> behaviour. Is there any differences between gtk versions that I need to be 
> aware of?
> 
> I am using the gtk packaged in debian stable on my Linux box (2.8.20) and I 
> guess it is the 2.12 I use on my windows machine...
> 

I keep having conversations with myself.. :)
- Anyway I managed to get it working!

I inserted
gdk_window_get_pointer(event->window, NULL, NULL, NULL);

after changing the mouse with gdk_window_set_cursor - and now it works!

Thanks to all that helped!

-- 
Andreas Rönnquist <[EMAIL PROTECTED]>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to