|
wex v26.10.0
|
Offers our generic dir control. More...
#include <wex/del/dirctrl.h>
Public Member Functions | |
| dirctrl (del::frame *frame, const data::window &data=data::window().style(wxDIRCTRL_3D_INTERNAL|wxDIRCTRL_MULTIPLE)) | |
| Constructor. | |
| bool | expand_and_select_path (const path &path) |
| Expands specified path and selects it. | |
| std::vector< path > | on_selected_paths (const std::function< void(std::vector< path >)> &) const |
| Returns vector with selections, empty if nothing is selected. | |
Offers our generic dir control.
It adds a popup menu and handling of the commands.
| bool wex::del::dirctrl::expand_and_select_path | ( | const path & | path | ) |
Expands specified path and selects it.
Returns false if path could not be expanded or selected.