csc.app.SceneManager¶
- class csc.app.SceneManager¶
SceneManager class. SceneManager class provides functionalities to manage scenes within the application.
- __init__(*args, **kwargs)¶
Methods
__init__(*args, **kwargs)create_application_scene(self)Create a new scene tab
current_scene(self)Get the current scene tab
remove_application_scene(self, arg0)Close the specified scene tab
scenes(self)Get a list of all scene tabs
set_current_scene(self, arg0)Set the specified scene tab as active
- __annotations__ = {}¶
- __init__(*args, **kwargs)¶
- __module__ = 'csc.app'¶
- create_application_scene(self: csc.app.SceneManager) object¶
Create a new scene tab
- Returns:
The new scene tab
- Return type:
- current_scene(self: csc.app.SceneManager) object¶
Get the current scene tab
- Returns:
The current scene tab
- Return type:
- remove_application_scene(self: csc.app.SceneManager, arg0: csc.view.Scene) None¶
Close the specified scene tab
- Parameters:
arg0 (csc.view.Scene) – The scene tab to close
- scenes(self: csc.app.SceneManager) list[object]¶
Get a list of all scene tabs
- Returns:
The list of all scene tabs
- Return type:
List[csc.view.Scene]
- set_current_scene(self: csc.app.SceneManager, arg0: csc.view.Scene) None¶
Set the specified scene tab as active
- Parameters:
arg0 (csc.view.Scene) – The scene tab to set as active