ReadOnlyOptionsWindow#
- class omni.kit.window.file.ReadOnlyOptionsWindow(
- open_with_new_edit_fn: Callable[[], None],
- open_original_fn: Callable[[], None],
- modal=False,
Bases:
object
Prompt window class to show when opening a read only file.
- Parameters:
open_with_new_edit_fn (Callable) – function to call when opening with a new edit layer.
open_original_fn (Callable) – function to call when opening original file.
- Keyword Arguments:
modal (bool) – True if window is modal.
Methods
__init__
(open_with_new_edit_fn, open_original_fn)destroy
()Destructor.
hide
()Hide the window.
show
()Show the window.
- __init__(
- open_with_new_edit_fn: Callable[[], None],
- open_original_fn: Callable[[], None],
- modal=False,
- destroy()#
Destructor.
- hide()#
Hide the window.
- is_visible()#
- Returns:
Return True if window is visible.
- show()#
Show the window.