ExtInfoWidget

class omni.kit.window.extensions.ext_info_widget.ExtInfoWidget

Bases: object

A widget for displaying detailed information about extensions in the Extension Manager UI.

This widget provides a comprehensive view of an extension’s overview, changelog, dependencies, and available packages. It allows users to select different versions of the extension, install or update it, and view additional metadata and documentation. The widget also offers functionality to copy extension IDs, open extension folders, and export extensions.

The widget is designed to be dynamically updated based on the selected extension and provides tabs for navigating between different sections of extension information. It is also responsible for handling extension-related actions such as installation, updating, enabling autoload, and other management tasks.

Methods

__init__()

Initializes the ExtInfoWidget instance with default values and subscriptions.

destroy()

Cleans up resources and subscriptions.

select_ext(ext_summary)

Select extension to display info about.

set_show_graph_fn(fn)

Assigns a function to be called to show the graph of extension dependencies.

set_visible(visible)

Sets the visibility of the ExtInfoWidget.

update_tabs()

Updates the tabs in the ExtInfoWidget based on the current pages.

Attributes

current_page

int - Index of the currently displayed page or tab

pages

list[PageBase] - List of pages added to the ExtInfoWidget as tabs

__init__()

Initializes the ExtInfoWidget instance with default values and subscriptions.

destroy()

Cleans up resources and subscriptions.

select_ext(ext_summary)

Select extension to display info about. Can be None

Parameters

ext_summary (ExtensionCommonInfo) – The summary of the extension to display.

set_show_graph_fn(fn: Callable)

Assigns a function to be called to show the graph of extension dependencies.

Parameters

fn (Callable) – The function to call.

set_visible(visible)

Sets the visibility of the ExtInfoWidget.

Parameters

visible (bool) – Whether the widget should be visible.

update_tabs()

Updates the tabs in the ExtInfoWidget based on the current pages.

current_page = 0

int - Index of the currently displayed page or tab

pages = [<class 'omni.kit.window.extensions.ext_info_widget.OverviewPage'>, <class 'omni.kit.window.extensions.ext_info_widget.ChangelogPage'>, <class 'omni.kit.window.extensions.ext_info_widget.DependenciesPage'>, <class 'omni.kit.window.extensions.ext_info_widget.PackagesPage'>]

list[PageBase] - List of pages added to the ExtInfoWidget as tabs