open3d.visualization.gui.Menu

class open3d.visualization.gui.Menu

A menu, possibly a menu tree

__init__(self: open3d.cpu.pybind.visualization.gui.Menu) → None
add_item(self: open3d.cpu.pybind.visualization.gui.Menu, arg0: str, arg1: int) → None

Adds a menu item with id to the menu

add_menu(self: open3d.cpu.pybind.visualization.gui.Menu, arg0: str, arg1: open3d.cpu.pybind.visualization.gui.Menu) → None

Adds a submenu to the menu

add_separator(self: open3d.cpu.pybind.visualization.gui.Menu) → None

Adds a separator to the menu

is_checked(self: open3d.cpu.pybind.visualization.gui.Menu, arg0: int) → bool

Returns True if menu item is checked

set_checked(self: open3d.cpu.pybind.visualization.gui.Menu, arg0: int, arg1: bool) → None

Sets menu item (un)checked

set_enabled(self: open3d.cpu.pybind.visualization.gui.Menu, arg0: int, arg1: bool) → None

Sets menu item enabled or disabled