DatetimeFormatMenu
- class omni.kit.widget.filebrowser.date_format_menu.DatetimeFormatMenu(value_changed_fn: Optional[Callable[[], None]] = None)
Bases:
object
Menu to set datetime format.
- Parameters
value_changed_fn (Callable) – function to call when datetime format changed. Function Signature: void value_changed_fn()
Methods
__init__
([value_changed_fn])destroy
()Destructor
show_at
(x, y)Show the menu at the given position.
Attributes
Return True if the menu is visible.
- __init__(value_changed_fn: Optional[Callable[[], None]] = None)
- destroy()
Destructor
- show_at(x: float, y: float)
Show the menu at the given position.
- property visible
Return True if the menu is visible.