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

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




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_select_query() Get the user to enter an Address Query
query_complete() Perform auto-complete using an Address Query
query_dialog_new() Create an Query Selection Dialog
query_format_str() Format a string for the query menu format_t, expando_api
query_index() Perform an Alias Query and display the results
query_make_entry() Format a menu item for the query list 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