|
API Documentation
|
|
|
Item * getParentItem() const
unsigned int getChildCount() const
Abstracts an image to be used within the component.
Definition: Image.h:12
void setParentItem(Item *item)
void setIcon(Image *image)
bool getCollapsed() const
void * getAttachedData() const
void setAttachedData(void *data)
bool getSelectOnRightClick() const
A graphical tree view window.
Definition: TreeView.h:12
virtual Item * getSelectedItem()=0
void setSelectionCallback(std::function< void(TreeView *)> value)
Encompasses all API of component NilkinsMaths.
Definition: IntVector.h:7
Holds information of a tree view item.
Definition: TreeView.h:19
static nkMemory::UniquePtr< TreeView > create(System *system=nullptr)
void selectItemFromRelativeCursor(nkMaths::Point relCoords)
void selectItemFromAbsoluteCursor(nkMaths::Point absCoords)
virtual void setCollapsed(bool value)
virtual Item * insertItem(nkMemory::StringView text, void *data, Item *parent=nullptr)
Encompasses all API of component NilkinsExport.
Definition: Base64Encoder.h:7
Item * addChild(Item *child)
TreeView * getParentTree() const
Base class for any graphical component.
Definition: Component.h:12
virtual Item * getItemAtAbsoluteCursor(nkMaths::Point absCoords)=0
The main system of the component.
Definition: System.h:18
virtual void importClassFromTree(nkExport::Node *rootNode) override
virtual void clearItems()
virtual Item * getItemAtRelativeCursor(nkMaths::Point relCoords)=0
std::function< void(TreeView *)> getSelectionCallback() const
virtual void selectItem(Item *item)=0
virtual void deleteItem(Item *toDelete, bool keepChildrenOnUpper=false)
void setText(nkMemory::StringView text)
void disavowChild(Item *child)
void selectItemFromItsData(void *data)
nkMemory::StringView getText() const
virtual void changeItemLabel(Item *toChange, nkMemory::StringView label)
void setParentTree(TreeView *parent)
Encompasses all API of component NilkinsWinUi.
Definition: Clipboard.h:7
void collapseAll(bool status)
Item * getItemFromData(void *data) const
void exportIntrospection(nkExport::Node *rootNode)
void setSelectionOnRightClick(bool value)
Item * getChild(unsigned int index) const
Encompasses all API of component NilkinsMemory.
Definition: Allocator.h:7