NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
DOXYGEN
Address Book Dialog

Overview

The Address Book Dialog allows the user to select, add or delete aliases.

This is a Simple Dialog

Note
New aliases will be saved to $alias_file. Deleted aliases are deleted from memory only.

Windows

Name Type See Also
Address Book Dialog WT_DLG_ALIAS dlg_select_alias()

Parent

Children

Data

The Simple Dialog holds a Menu. The Address Book Dialog stores its data (AliasMenuData) in Menu::mdata.

Events

Once constructed, it is controlled by the following events:

Event Type Handler
NT_ALIAS alias_alias_observer()
NT_CONFIG alias_config_observer()
NT_WINDOW alias_window_observer()
MuttWindow::recalc() alias_recalc()

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

MuttWindow::recalc() is handled to support custom sorting.

Some other events are handled by the Simple Dialog.

| Function | Description | | :----— | :-------— |