WebKit2.ContextMenuItem.prototype.get_action

function get_action(): Gtk.Action {
    // Gjs wrapper for webkit_context_menu_item_get_action()
}
  

Gets the action associated to item.

Returns

the Gtk.Action associated to the WebKit2.ContextMenuItem, or null if item is a separator.