WebKit2.ContextMenu.prototype.get_user_data
function get_user_data(): GLib.Variant {
// Gjs wrapper for webkit_context_menu_get_user_data()
}
Gets the user data of menu. This function can be used from the UI Process to get user data previously set from the Web Process with WebKit2.ContextMenu.prototype.set_user_data.
Since 2.8
- Returns
the user data of menu, or null if menu doesn't have user data