ExtsPropertiesWidget
- class omni.kit.window.extensions.exts_properties_widget.ExtsPropertiesWidget
Bases:
object
A widget class used within an application to manage and display properties of extensions.
This class provides functionality to manage extension properties, such as search paths and registries, and to clean and export extension data. It includes a user interface composed of various collapsable frames that allow users to interact with extension settings, view extension summaries, and perform actions such as opening extension paths or clearing extension caches.
The widget is designed to be integrated into applications that support extension management and requires an extension manager to function. It subscribes to extension change events to refresh its contents dynamically.
Methods
__init__
()Initialize the extension properties widget.
destroy
()Cleans up the widget and its subscriptions.
export_all_exts
(ext_summaries)Export all exts in CSV format with some of config params.
export_enabled_exts_as_kit_file
([only_top_level])Export all topmost exts in .kit format.
set_visible
(visible)Sets the visibility of the widget.
- __init__()
Initialize the extension properties widget.
- destroy()
Cleans up the widget and its subscriptions.
- export_all_exts(ext_summaries)
Export all exts in CSV format with some of config params. print and copy result.
- Parameters
ext_summaries (list) – A list of extension summaries to export.
- export_enabled_exts_as_kit_file(only_top_level=True)
Export all topmost exts in .kit format. print and copy result.
- Parameters
only_top_level (bool) – Whether to export only top-level extensions.
- set_visible(visible)
Sets the visibility of the widget.
- Parameters
visible (bool) – Whether the widget should be visible.