NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
DOXYGEN
File/Mailbox Browser Dialog

Overview

The File/Mailbox Browser Dialog lets the user select from a list of files or mailboxes.

This is a Simple Dialog

Windows

Name Type See Also
Browser Dialog WT_DLG_BROWSER mutt_buffer_select_file()

Parent

Children

Data

The Simple Dialog holds a Menu. The Browser Dialog stores its data (BrowserState) in Menu::mdata.

Events

Once constructed, it is controlled by the following events:

Event Type Handler
NT_CONFIG browser_config_observer()
NT_WINDOW browser_window_observer()

The Browser Dialog doesn't have any specific colours, so it doesn't need to support NT_COLOR.

The Browser Dialog does not implement MuttWindow::recalc() or MuttWindow::repaint().

Some other events are handled by the Simple Dialog.

Function Description
mutt_browser_cleanup() Clean up working Buffers
mutt_browser_select_dir() Remember the last directory selected
mutt_buffer_select_file() Let the user select a file
mutt_select_file() Let the user select a file