The Address Book Dialog allows the user to select, add or delete aliases.
This is a Simple Dialog
$alias_file
. Deleted aliases are deleted from memory only.Name | Type | See Also |
---|---|---|
Address Book Dialog | WT_DLG_ALIAS | dlg_alias() |
Parent
Children
The Simple Dialog holds a Menu. The Address Book Dialog stores its data (AliasMenuData) in Menu::mdata.
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 | 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_make_entry() | Format an Alias for the Menu | 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_alias() | Display a menu of Aliases | gui_dlg |