struct mrpt::imgui::CImGuiFileDialog::NativeImpl

Overview

struct NativeImpl
{
    // fields

    std::unique_ptr<pfd::open_file> openDlg;
    std::unique_ptr<pfd::save_file> saveDlg;
    std::unique_ptr<pfd::select_folder> folderDlg;

    // methods

    bool active() const;
    void kill();
    std::optional<std::vector<std::string>> poll();
};

Methods

std::optional<std::vector<std::string>> poll()

Non-blocking: returns the result once the dialog is closed.