FilePickerCtrl¶
A simple file and path picker widget consisting of a text field and a button.
-
class
core.FilePickerCtrl.
FilePickerCtrl
(parent, id=-1, startDir='', mode='path', **kwargs)[source]¶ FilePickerCtrl is a simple file picker widget for wxPython consisting of a text-field and a ‘select file’-button.
Parameters: - parent (wxWindow) – Parent window.
- id (int) – Widget it (default=-1).
- startDir (str) – Initial directory to display in search dialog (default=’’ for current).
- mode (str) – Type of dialog (‘open’, ‘save’, ‘path’ = default).
- kwargs – Other parameters that are passed on to the wxPanel constructor.