context_menu
Description:
[ Version ( since = "2.8" ) ]
public signal bool context_menu (ContextMenu context_menu, WebHitTestResult hit_test_result)
public signal bool context_menu (ContextMenu context_menu, WebHitTestResult hit_test_result)
Emitted before a context menu is displayed in the UI Process to give the application a chance to customize the proposed menu, build its own context menu or pass user data to the UI Process.
This signal is useful when the information available in the UI Process is not enough to build or customize the context menu, for example, to
add menu entries depending on the node at the coordinates of the hit_test_result
. Otherwise, it's recommended to use
WebKitWebView::context-menu
signal instead.
Parameters:
context_menu |
the proposed ContextMenu |
hit_test_result |
Returns:
true if the proposed |