IAppWindowFactory#
- class omni.appwindow.IAppWindowFactory#
Bases:
pybind11_objectApplication window creation factory
Methods
__init__(*args, **kwargs)create_window_by_type(self, window_type)Create application window according to the input window type.
Create application window.
create_window_ptr_by_type(self, window_type)Create application window from the input settings.
Create application window from the input settings.
destroy_window_ptr(self, app_window)Destroy the input application window.
get_app_window(self)Get default application window.
get_default_window(self)Get default application window.
get_window_at(self, index)Get application window by the input index.
get_window_count(self)Get the number of application windows.
get_windows(self)Get a tuple of all the application windows.
set_default_window(self, Arg0)Set default application window.
- __init__(*args, **kwargs)#
- create_window_by_type(
- self: omni.appwindow._appwindow.IAppWindowFactory,
- window_type: omni.appwindow._appwindow.WindowType,
Create application window according to the input window type.
- Parameters:
window_type – Type of the window: virtual or OS.
- Returns:
Application window carb object pointer.
- create_window_from_settings( ) omni.appwindow._appwindow.IAppWindow#
Create application window.
- Returns:
The application window carb object pointer.
- create_window_ptr_by_type(
- self: omni.appwindow._appwindow.IAppWindowFactory,
- window_type: omni.appwindow._appwindow.WindowType,
Create application window from the input settings.
- Parameters:
window_type – Type of the window: virtual or OS.
- Returns:
Application window pointer.
- create_window_ptr_from_settings( ) omni.appwindow._appwindow.IAppWindow#
Create application window from the input settings.
- Returns:
Application window pointer.
- destroy_window_ptr(
- self: omni.appwindow._appwindow.IAppWindowFactory,
- app_window: omni.appwindow._appwindow.IAppWindow,
Destroy the input application window.
- Parameters:
app_window – The application window pointer.
- get_app_window( ) omni.appwindow._appwindow.IAppWindow#
Get default application window.
- Returns:
The application window pointer.
- get_default_window( ) omni.appwindow._appwindow.IAppWindow#
Get default application window.
- Returns:
The application window pointer.
- get_window_at(
- self: omni.appwindow._appwindow.IAppWindowFactory,
- index: int,
Get application window by the input index.
- Parameters:
index – window index
Return – The application window pointer.
- get_window_count( ) int#
Get the number of application windows.
- Returns:
The number of application windows.
- get_windows( ) tuple#
Get a tuple of all the application windows.
- Returns:
A tuple of all the application windows.
- set_default_window( ) None#
Set default application window.
- Parameters:
Arg0 – The input application window pointer.