class documentation

Displays a menu of options in a vertical stack.

Note

Can be used for an Button type with properties whose views are one of Button, Dropdown, DropdownView, and :class;`Choices`. The variant and color of the items can be set using the variant and color parameters.

Parameters
namethe name of the property
variantthe variant for the items of the menu. Can be "contained", "outlined", "round" or "square"
colorthe color for the items of the menu.
overlaywhether to display the menu as an overlay. Can be "top-left",
"top-center"
"top-right"
"bottom-left"
"bottom-center"`
or
"bottom-right". Overlay is useful when you want to display a floating menu on top of
another content
iconwhen set, the icon button will be displayed as the menu trigger,
instead of the selected value. Can be "SettingsIcon" or "MoreVertIcon"
Returns
a Object
Method __init__ Undocumented
Method to_json Undocumented

Inherited from GridView:

Instance Variable align_x Undocumented
Instance Variable align_y Undocumented
Instance Variable container Undocumented
Instance Variable gap Undocumented
Instance Variable orientation Undocumented

Inherited from View (via GridView):

Method clone Undocumented
Method kwargs_to_json Undocumented
Instance Variable caption Undocumented
Instance Variable component Undocumented
Instance Variable componentsProps Undocumented
Instance Variable description Undocumented
Instance Variable label Undocumented
Instance Variable placeholder Undocumented
Instance Variable read_only Undocumented
Instance Variable space Undocumented
Instance Variable _kwargs Undocumented
def __init__(self, orientation='horizontal', **kwargs): (source)
def to_json(self): (source)