RegistryItem

class omni.kit.window.extensions.exts_properties_registries.RegistryItem(name, url, is_user=True, is_default=False, add_dummy=False)

Bases: AbstractItem

A class representing an individual registry item in the application.

This class encapsulates the details of a registry entry, which includes its name, URL, and flags to indicate if it’s a user-defined registry or a default one. It also supports adding a dummy entry.

Parameters
  • name (str) – The name of the registry item.

  • url (str) – The URL associated with the registry item.

  • is_user (bool) – Flag indicating if the item is user-defined.

  • is_default (bool) – Flag indicating if the item is set as default.

  • add_dummy (bool) – Flag indicating if a dummy item should be added.

Methods

__init__(name, url[, is_user, is_default, ...])

Initializes a new instance of the RegistryItem with the provided name, URL, and status flags.

__init__(name, url, is_user=True, is_default=False, add_dummy=False)

Initializes a new instance of the RegistryItem with the provided name, URL, and status flags.