FolderCategoryItem#

class omni.kit.browser.folder.core.FolderCategoryItem(
name: str,
count: int,
folder: AbstractBrowserFolder,
parent: CategoryItem | None = None,
is_last_child: bool | None = False,
)#

Bases: CategoryItem

Represents a single folder category item. :param name: folder name. :type name: str :param count: count of files in this folder. :type count: int :param folder: folder object linked to this item. :type folder: AbstractBrowserFolder :param parent: parent category item, to get sibling info. :type parent: CategoryItem :param is_last_child: Is last child of siblings, for drawing purposes. :type is_last_child: bool

Methods

__init__(self)

Attributes

__init__(self: omni.ui._ui.AbstractItem) None#