Molybden API
Loading...
Searching...
No Matches
molybden::OpenDialogOptions Struct Reference

The options of an open dialog. More...

#include <dialogs.hpp>

Public Attributes

std::string title
 The title of the dialog.
 
std::string button_label
 The custom label of the dialog confirmation button.
 
std::string default_path
 The path to the default directory or file to select in the dialog.
 
std::string message
 The message to display above input boxes on macOS.
 
std::vector< FileFilterfilters
 The filters of the dialog.
 
OpenDialogSelectionPolicy selection_policy
 The selection policy of the dialog.
 
OpenDialogFeatures features
 The features of the dialog.
 

Detailed Description

The options of an open dialog.

Member Data Documentation

◆ selection_policy

OpenDialogSelectionPolicy molybden::OpenDialogOptions::selection_policy
Initial value:
=
OpenDialogSelectionPolicy::kFiles

The selection policy of the dialog.

If the platform does not support the chosen policy, the default value will be used.


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