NeoMutt  2024-12-12-14-g7b49f7
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
File/Mailbox Browser Dialog

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 dlg_browser()

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.

Functions

Function Description Links
browser_add_folder() Add a folder to the browser list
browser_config_observer() Notification that a Config Variable has changed observer_t, observer_api
browser_highlight_default() Decide which browser item should be highlighted
browser_mailbox_observer() Notification that a Mailbox has changed observer_t, observer_api
browser_window_observer() Notification that a Window has changed observer_t, observer_api
dlg_browser() Let the user select a file gui_dlg
examine_directory() Get list of all files/newsgroups with mask
examine_mailboxes() Get list of mailboxes/subscribed newsgroups
file_tag() Tag an entry in the menu Menu::tag(), menu_tag
folder_make_entry() Format a Folder for the Menu Menu::make_entry(), menu_make_entry
init_lastdir() Initialise the browser directories
init_menu() Set up a new menu
init_state() Initialise a browser state
link_is_dir() Does this symlink point to a directory?
mutt_browser_cleanup() Clean up working Buffers
mutt_browser_select_dir() Remember the last directory selected
select_file_search() Menu search callback for matching files Menu::search(), menu_search