Re: gtk_text_buffer with clickable links?




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...

/Andreas



-- 
Andreas Rönnquist <andreas ronnquist meritkonsult se>



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