wex v26.10.0
wex::del::dirctrl Class Reference

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< pathon_selected_paths (const std::function< void(std::vector< path >)> &) const
 Returns vector with selections, empty if nothing is selected.

Detailed Description

Offers our generic dir control.

It adds a popup menu and handling of the commands.

Member Function Documentation

◆ expand_and_select_path()

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.