RADLib
RADical C++ application framework
RADUi::DirectoryBrowserEntry Struct Reference

One flattened row in a native-style expandable directory browser. More...

#include <RADUi.h>

Public Attributes

std::filesystem::path path
 Stable absolute path for the row. More...
 
std::string name
 Display name. More...
 
std::string subtitle
 Secondary display text. More...
 
std::string icon
 Toolkit-neutral icon key: up, folder, score, midi, audio, app, or file. More...
 
int depth = 0
 Tree depth relative to the browser root. More...
 
bool isDirectory = false
 True for filesystem directories and the synthetic parent row. More...
 
bool expandable = false
 True when this directory currently has displayable children. More...
 
bool expanded = false
 True when this directory is expanded. More...
 
bool isApplication = false
 True when this row represents an executable/app-like file. More...
 
DirectoryBrowserEntryKind kind = DirectoryBrowserEntryKind::File
 Classified file type. More...
 

Detailed Description

One flattened row in a native-style expandable directory browser.

Member Data Documentation

◆ depth

int RADUi::DirectoryBrowserEntry::depth = 0

Tree depth relative to the browser root.

◆ expandable

bool RADUi::DirectoryBrowserEntry::expandable = false

True when this directory currently has displayable children.

◆ expanded

bool RADUi::DirectoryBrowserEntry::expanded = false

True when this directory is expanded.

◆ icon

std::string RADUi::DirectoryBrowserEntry::icon

Toolkit-neutral icon key: up, folder, score, midi, audio, app, or file.

◆ isApplication

bool RADUi::DirectoryBrowserEntry::isApplication = false

True when this row represents an executable/app-like file.

◆ isDirectory

bool RADUi::DirectoryBrowserEntry::isDirectory = false

True for filesystem directories and the synthetic parent row.

◆ kind

DirectoryBrowserEntryKind RADUi::DirectoryBrowserEntry::kind = DirectoryBrowserEntryKind::File

Classified file type.

◆ name

std::string RADUi::DirectoryBrowserEntry::name

Display name.

◆ path

std::filesystem::path RADUi::DirectoryBrowserEntry::path

Stable absolute path for the row.

◆ subtitle

std::string RADUi::DirectoryBrowserEntry::subtitle

Secondary display text.


The documentation for this struct was generated from the following file: