Re: gtk_text_view_get_iter_at_location and scrolling?



On Wed, Apr 02, 2003 at 01:49:23PM +0100, martyn 2 russell bt com wrote:
I use 
    gtk_text_view_get_iter_at_location(GTK_TEXT_VIEW(view), &iter, &x,
&y);
    

Havoc... any input on this?


Have a look at gtk_text_view_window_to_buffer_coords() 
(the motion notify event is in window coords)

Havoc





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