ContextMenuItem
Description:
[ CCode ( has_construct_function = false ) ]
[ Version ( deprecated = true , deprecated_since = "2.18" ) ]
public ContextMenuItem (Action action)
[ 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
.
Note:
Use ContextMenuItem.from_gaction instead.
Parameters:
action |
a Action |
Returns:
the newly created ContextMenuItem object. |