NeoMutt  2023-03-22
Teaching an old dog new tricks
Autocrypt account dialog

The Autocrypt Account Dialog lets the user set up or update an Autocrypt Account.

This is a Simple Dialog


Name Type See Also
Autocrypt Account Dialog WT_DLG_AUTOCRYPT dlg_select_autocrypt_account()




The Simple Dialog holds a Menu. The Autocrypt Account Dialog stores its data (AccountEntry) in Menu::mdata.


Once constructed, it is controlled by the following events:

Event Type Handler
NT_CONFIG autocrypt_config_observer()
NT_WINDOW autocrypt_window_observer()

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

The Autocrypt Account Dialog does not implement MuttWindow::recalc() or MuttWindow::repaint().

Some other events are handled by the Simple Dialog.


Function Description Links
autocrypt_config_observer() Notification that a Config Variable has changed observer_t, observer_api
autocrypt_format_str() Format a string for the Autocrypt account list format_t, expando_api
autocrypt_make_entry() Create a line for the Autocrypt account menu Menu::make_entry(), menu_make_entry
autocrypt_menu_free() Free the Autocrypt account Menu Menu::mdata_free(), menu_mdata_free
autocrypt_window_observer() Notification that a Window has changed observer_t, observer_api
dlg_select_autocrypt_account() Display the Autocrypt account Menu
populate_menu() Add the Autocrypt data to a Menu