pub fn menu<Id: Clone + PartialEq>() -> State<MenuItem, Id>Available on crate feature
property-grid only.Expand description
A context menu to pass to PropertyGrid::context_menu: copy the
value, or reset it to its default. Turn the chosen entry into an event
with MenuItem::event, and call sync_menu after each menu event
so entries that would do nothing are disabled.