The Address Query Dialog will show aliases from an external query.
User can select aliases from the list.
This is a Simple Dialog
Name | Type | See Also |
---|---|---|
Address Query Dialog | WT_DLG_QUERY | dlg_query() |
Parent
Children
The Simple Dialog holds a Menu. The Address Query Dialog stores its data (AliasMenuData) in Menu::mdata.
Once constructed, it is controlled by the following events:
Event Type | Handler |
---|---|
NT_CONFIG | alias_config_observer() |
NT_WINDOW | query_window_observer() |
MuttWindow::recalc() | alias_recalc() |
The Address Query 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_to_addrlist() | Turn an Alias into an AddressList | |
dlg_query() | Get the user to enter an Address Query | gui_dlg |
query_complete() | Perform auto-complete using an Address Query | |
query_dialog_new() | Create an Query Selection Dialog | |
query_index() | Perform an Alias Query and display the results | |
query_make_entry() | Format an Alias for the Menu | Menu::make_entry(), menu_make_entry |
query_run() | Run an external program to find Addresses | |
query_tag() | Tag an entry in the Query Menu | Menu::tag(), menu_tag |
query_window_observer() | Notification that a Window has changed | observer_t, observer_api |