get_hotspot_x


Description:

public int get_hotspot_x ()

Returns the horizontal offset of the hotspot.

The hotspot indicates the pixel that will be directly above the cursor.

Note that named cursors may have a nonzero hotspot, but this function will only return the hotspot position for cursors created with [ [email protected]_from_texture].

Parameters:

this

a `GdkCursor`

Returns:

the horizontal offset of the hotspot or 0 for named cursors




2022 vala-language.org