[ 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
.
Use ContextMenuItem.from_gaction instead.
action |
a Action |
the newly created ContextMenuItem object. |