NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
DOXYGEN
Compose Email Dialog

Overview

The Compose Email Dialog lets the user edit the fields before sending an email. They can also add/remove/reorder attachments.

Windows

Name Type See Also
Compose Email Dialog WT_DLG_COMPOSE mutt_compose_menu()

Parent

Children

Data

The Compose Email Dialog stores its data (ComposeSharedData) in MuttWindow::wdata.

Events

Once constructed, it is controlled by the following events:

Event Type Handler
NT_CONFIG compose_config_observer()
NT_WINDOW compose_window_observer()

The Compose Email Dialog does not implement MuttWindow::recalc() or MuttWindow::repaint().

Some other events are handled by the dialog's children.

Function Description
compose_attach_swap() Swap two adjacent entries in the attachment list
compose_config_observer() Notification that a Config Variable has changed - Implements observer_t
compose_dlg_init() Allocate the Windows for Compose
compose_window_observer() Notification that a Window has changed - Implements observer_t
mutt_compose_menu() Allow the user to edit the message envelope
update_crypt_info() Update the crypto info
update_idx() Add a new attchment to the message
update_menu() Redraw the compose window