ContextMenu.getUserData

glib.variant.Variant 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].

Returns

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