mouse_target_changed


Description:

public virtual signal void mouse_target_changed (HitTestResult hit_test_result, uint modifiers)

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

Parameters:

hit_test_result

a HitTestResult

modifiers

a bitmask of ModifierType




2022 vala-language.org