|
API Documentation
|
|
|
bool getFollowSelfDir() const
virtual void exportIntrospection(nkExport::Node *rootNode) override
virtual nkMemory::String openDialog(bool forSave)=0
Used to filter files in the interface.
Definition: FileExplorer.h:19
Base class for any graphical component.
Definition: Component.h:12
FileFilter & getFilter(unsigned int index)
A graphical file explorer.
Definition: FileExplorer.h:12
The main system of the component.
Definition: System.h:18
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
static nkMemory::UniquePtr< FileExplorer > create(System *system=nullptr)
Smart pointer owning the object instance it encapsulates.
Definition: UniquePtr.h:17
nkMemory::String _label
The label shown for the filter in the interface.
Definition: FileExplorer.h:23
void setCurrentDir(nkMemory::StringView path)
Class holding information about a string, with ownership over the data.
Definition: String.h:22
nkMemory::StringView getCurrentDir() const
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
FileExplorer(System *system) noexcept
virtual void importClassFromTree(nkExport::Node *rootNode) override
nkMemory::String _extension
The extensions filtered by the filter.
Definition: FileExplorer.h:24
void addFilter(nkMemory::StringView label, nkMemory::StringView extension)
void setFollowSelfDir(bool value)
Encompasses all API of component NilkinsWinUi.
Definition: Clipboard.h:7
void setFilter(unsigned int index, nkMemory::StringView label, nkMemory::StringView extension)