ContextMenuItem.this

Creates a new #WebKitContextMenuItem for the given @action and @label. On activation @target will be passed as parameter to the callback.

Parameters

action ActionIF

a #GAction

label string

the menu item label text

target Variant

a #GVariant to use as the action target

Return Value

the newly created #WebKitContextMenuItem object.

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.18