[webkit-dev] scroll event firing for WebKit Gtk port
contact.aneesh at gmail.com
Mon Nov 1 21:15:16 PDT 2010
On Mon, Nov 1, 2010 at 8:50 PM, Nilesh Patil <vniles at gmail.com> wrote:
> I think you will have to look for scrollviewgtk.cpp and scrollview.cpp - a
> platform side implementation for scrollable view in Gtk.
> Thanks & Regards
Thanks Nilesh - that helped. For reference sake, here are the
functions that are invoked :
In WebKit/gtk/webkit/webkitwebview.cpp :
webkit_web_view_scroll_event - called when using mouse's scroll wheel.
webkit_web_view_real_move_cursor - called when scrolling the page
using keyboard (up/down etc)
ScrollView::scrollContents - called when scrolling the page by
pressing the arrows on scrollbar or by dragging the scrollbar.
> On Mon, Nov 1, 2010 at 5:05 PM, Aneesh Bhasin <contact.aneesh at gmail.com>
>> Hi All,
>> I am trying to figure out which functions are triggered when we scroll
>> a webpage in the Gtk port of WebKit. I am using GtkLauncher for the
>> I could see webkit_web_view_scroll_event() and
>> webkit_web_view_real_move_cursor() (in
>> WebKit/gtk/webkit/webkitwebview.cpp) being triggered when we scroll
>> the webpage using mouse's scroll-wheel or using up-down keys on
>> keyboard but none of these are triggered when I scroll by pressing
>> either the scroll arrows or by dragging the scrollbar using mouse. Are
>> there any other events that are triggered in the last two cases - if
>> so, could someone please point me to the right files/functions ?
>> Thanks for the help !!
>> webkit-dev mailing list
>> webkit-dev at lists.webkit.org
More information about the webkit-dev