ContextMenu.getUserData

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 webkitwebprocessextension.context_menu.ContextMenu.setUserData.

class ContextMenu
getUserData
()

Return Value

Type: glib.variant.Variant

the user data of menu, or null if menu doesn't have user data