Skip to main content

Module picker_view

Module picker_view 

Source
Expand description

The file picker’s popup (FilePickerView), over the frame when File → Open… runs. It draws crate::picker::Picker:

  • Left: the places (home, Desktop, Documents, Downloads, the computer) and the app’s recent files.
  • Top: up one folder, then the breadcrumb (each folder a button).
  • List: folders first, then what the app opens, with kind, size and date; the rest only with “Show all files”, greyed. A click selects, a double click enters a folder or opens.
  • Footer: what the app opens, “Show all files”, Cancel and Open.

Keys: ↑ ↓ move, Enter opens or enters, Backspace goes up, Esc cancels. On a narrow window the places fold away (they are one Home button in the top row).

Structs§

FilePickerView
The file picker’s popup.

Enums§

PickerEvent
What the picker asks of its owner.