Skip to main content

ContextMenuSelectEvent

Event fired when a ContextMenu item is selected.

Inherits: ContextMenuDismissEvent

Properties

  • item - The selected menu item.
  • item_id - Internal numeric identifier of the selected menu item.
  • item_index - Index of the selected menu entry within the rendered list.

Properties

itemproperty

item: Optional[PopupMenuItem]

The selected menu item.

item_idclass-attributeinstance-attribute

item_id: Optional[int] = field(default=None, metadata={'data_field': 'id'})

Internal numeric identifier of the selected menu item.

item_indexclass-attributeinstance-attribute

item_index: Optional[int] = field(default=None, metadata={'data_field': 'idx'})

Index of the selected menu entry within the rendered list.