bootstack.events.MenuSelectEvent#

class bootstack.events.MenuSelectEvent(type='', text='', value=None)#

Bases: object

Fires when a menu item is activated (MenuButton / ContextMenu).

text: str#

The item’s label text.

type: str#

The activated item’s type — 'command', 'check', or 'radio'.

value: Any#

The item’s value (a radio/check value, or None for a command).