wxGenericDirCtrl

wxGenericDirCtrl

wxGenericDirCtrl
Functions for wxGenericDirCtrl class

This control can be used to place a directory listing (with optional files) on an arbitrary window.

The control contains a wxTreeCtrl window representing the directory hierarchy, and optionally, a wxChoice window containing a list of filters.

Styles

This class supports the following styles:

This class is derived (and can use functions) from: wxControl wxWindow wxEvtHandler

wxWidgets docs: wxGenericDirCtrl

Event types emitted from this class: dirctrl_selectionchanged, dirctrl_fileactivated

Types

Gets selected filename path only (else empty string).

This function doesn't count a directory as a selection.

Types

Collapse and expand the tree, thus re-creating it from scratch.

May be used to update the displayed directory content.