Method

WebKit2WebExtensionHitTestResultcontext_is_selection

Declaration [src]

gboolean
webkit_hit_test_result_context_is_selection (
  WebKitHitTestResult* hit_test_result
)

Description [src]

Gets whether WEBKIT_HIT_TEST_RESULT_CONTEXT_SELECTION flag is present in WebKitHitTestResult:context.

Available since:2.8

Return value

Returns: gboolean
 

TRUE if there’s a selected element at the coordinates of the hit_test_result, or FALSE otherwise.