WebKit2.WebView::mouse-target-changed
connect('mouse-target-changed', function (webView, hit_test_result: WebKit2.HitTestResult, modifiers: Number(guint), ): void);
This signal is emitted when the mouse cursor moves over an element such as a link, image or a media element. To determine what type of element the mouse cursor is over, a Hit Test is performed on the current mouse coordinates and the result is passed in the hit_test_result argument. The modifiers argument is a bitmask of Gdk.ModifierType flags indicating the state of modifier keys. The signal is emitted again when the mouse is moved out of the current element with a new hit_test_result.
- webView
instance of WebKit2.WebView that is emitting the signal
- hit_test_result
- modifiers
a bitmask of Gdk.ModifierType