ContextMenuItem


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( deprecated = true , deprecated_since = "2.18" ) ]
public ContextMenuItem (Action action)

Warning: ContextMenuItem is deprecated since 2.18.

Creates a new ContextMenuItem for the given action .

Parameters:

action

a Action

Returns:

the newly created ContextMenuItem object.