Creates a new #WebKitContextMenuItem for the given stock action.
Stock actions are handled automatically by WebKit so that, for example,
when a menu item created with a webkit.types.ContextMenuAction.Stop is
activated the action associated will be handled by WebKit and the current
load operation will be stopped. You can get the #GAction of a
#WebKitContextMenuItem created with a #WebKitContextMenuAction with
webkitwebprocessextension.context_menu_item.ContextMenuItem.getGaction and connect to the #GSimpleAction::activate signal
to be notified when the item is activated, but you can't prevent the associated
action from being performed.
Creates a new #WebKitContextMenuItem for the given stock action.
Stock actions are handled automatically by WebKit so that, for example, when a menu item created with a webkit.types.ContextMenuAction.Stop is activated the action associated will be handled by WebKit and the current load operation will be stopped. You can get the #GAction of a #WebKitContextMenuItem created with a #WebKitContextMenuAction with webkitwebprocessextension.context_menu_item.ContextMenuItem.getGaction and connect to the #GSimpleAction::activate signal to be notified when the item is activated, but you can't prevent the associated action from being performed.