Skip to main content

Crate re_context_menu

Crate re_context_menu 

Source
Expand description

Support crate for context menu and actions.

Modules§

collapse_expand
Logic that implements the collapse/expand functionality.

Enums§

SelectionUpdateBehavior
Controls how context_menu_ui_for_item should handle the current selection state.

Functions§

any_view_has_entity_visibility
Returns true iff at least one view has a real (non-prefix-only) DataResult for entity_path whose resolved visibility equals target_visibility.
context_menu_ui_for_item
Display a context menu for the provided Item
context_menu_ui_for_item_with_context
Display a context menu for the provided Item
entity_visibility_in_view
Resolved visibility of entity_path in view_id, or None if the view does not contain it.
set_entity_visibility_in_all_views
Apply visible to entity_path in every view whose query result contains it.
set_entity_visibility_in_view
Apply visible to entity_path in view_id.