NeoMutt  2022-04-29-249-gaae397
Teaching an old dog new tricks
DOXYGEN
Address Book Dialog

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.

Functions

Function Description Links
alias_alias_observer() Notification that an Alias has changed observer_t, observer_api
alias_complete() Alias completion routine
alias_dialog() Open the aliases dialog
alias_dialog_new() Create an Alias Selection Dialog
alias_format_str() Format a string for the alias list format_t, expando_api
alias_make_entry() Format a menu item for the alias list Menu::make_entry(), menu_make_entry
alias_tag() Tag some aliases Menu::tag(), menu_tag
alias_window_observer() Notification that a Window has changed observer_t, observer_api
dlg_select_alias() Display a menu of Aliases