NeoMutt  2022-04-29-249-gaae397
Teaching an old dog new tricks
DOXYGEN
PGP Key Selection Dialog

The PGP Key Selection Dialog lets the user select a PGP key.

This is a Simple Dialog

Windows

Name Type See Also
PGP Key Selection Dialog WT_DLG_PGP dlg_select_pgp_key()

Parent

Children

Data

The Simple Dialog holds a Menu. The PGP Key Selection Dialog stores its data (PgpUid) in Menu::mdata.

Events

Once constructed, it is controlled by the following events:

Event Type Handler
NT_CONFIG pgp_key_config_observer()
NT_WINDOW pgp_key_window_observer()

The PGP Key Selection Dialog doesn't have any specific colours, so it doesn't need to support NT_COLOR.

The PGP Key Selection Dialog does not implement MuttWindow::recalc() or MuttWindow::repaint().

Some other events are handled by the Simple Dialog.

Functions

Function Description Links
dlg_select_pgp_key() Let the user select a key to use
pgp_compare_address_qsort() Compare the addresses of two PGP keys
pgp_compare_date_qsort() Compare the dates of two PGP keys
pgp_compare_key_address() Compare Key addresses and IDs for sorting
pgp_compare_key_date() Compare Key dates for sorting
pgp_compare_key_trust() Compare the trust of keys for sorting
pgp_compare_keyid() Compare Key IDs and addresses for sorting
pgp_compare_keyid_qsort() Compare key IDs
pgp_compare_trust_qsort() Compare the trust levels of two PGP keys
pgp_entry_format_str() Format an entry on the PGP key selection menu format_t, expando_api
pgp_flags() Turn PGP key flags into a string
pgp_key_abilities() Turn PGP key abilities into a string
pgp_key_config_observer() Notification that a Config Variable has changed observer_t, observer_api
pgp_key_table_free() Free the key table Menu::mdata_free(), menu_mdata_free
pgp_key_window_observer() Notification that a Window has changed observer_t, observer_api
pgp_make_entry() Format a menu item for the pgp key list Menu::make_entry(), menu_make_entry