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 | |
name | the name of the property |
variant | the variant for the items of the menu. Can be "contained", "outlined", "round" or "square" |
color | the color for the items of the menu. |
overlay | whether to display the menu as an overlay. Can be "top-left", |
"top-center" | |
"top-right" | |
"bottom-left" | |
"bottom-center"` | |
or | |
"bottom-right" | |
another content | |
icon | when set, the icon button will be displayed as the menu trigger, |
instead of the selected value | |
Returns | |
a Object |
Method | __init__ |
Undocumented |
Method | to |
Undocumented |
Inherited from GridView
:
Instance Variable | align |
Undocumented |
Instance Variable | align |
Undocumented |
Instance Variable | container |
Undocumented |
Instance Variable | gap |
Undocumented |
Instance Variable | orientation |
Undocumented |
Inherited from View
(via GridView
):
Method | clone |
Undocumented |
Method | kwargs |
Undocumented |
Instance Variable | caption |
Undocumented |
Instance Variable | component |
Undocumented |
Instance Variable | components |
Undocumented |
Instance Variable | description |
Undocumented |
Instance Variable | label |
Undocumented |
Instance Variable | placeholder |
Undocumented |
Instance Variable | read |
Undocumented |
Instance Variable | space |
Undocumented |
Instance Variable | _kwargs |
Undocumented |