---
name: "wxFileDirPickerEvent"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:25.2.3+dfsg-1+deb12u4"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/wxFileDirPickerEvent"
---

# wxFileDirPickerEvent(3erl)

Functions for wxFileDirPickerEvent class

## NAME

wxFileDirPickerEvent - Functions for wxFileDirPickerEvent class

## DESCRIPTION

This event class is used for the events generated by *wxFilePickerCtrl* and by *wxDirPickerCtrl*.

See: *wxFilePickerCtrl*, *wxDirPickerCtrl*

This class is derived (and can use functions) from: *wxCommandEvent* *wxEvent*

wxWidgets docs: wxFileDirPickerEvent

## EVENTS

Use *wxEvtHandler:connect/3* with *wxFileDirPickerEventType* to subscribe to events of this type.

## DATA TYPES

```
wxFileDirPickerEvent() = wx:wx_object()
```

```
wxFileDirPicker() =
    #wxFileDirPicker{type =
                         wxFileDirPickerEvent:wxFileDirPickerEventType(),
                     path = unicode:chardata()}
```

```
wxFileDirPickerEventType() =
    command_filepicker_changed | command_dirpicker_changed
```

## EXPORTS

```
getPath(This) -> unicode:charlist()
```

Types:

This = wxFileDirPickerEvent()\

Retrieve the absolute path of the file/directory the user has just selected.
