NeoMutt  2022-04-29-323-g5fcc6c
Teaching an old dog new tricks
DOXYGEN
Compose Email Dialog

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.

Functions

Function Description Links
compose_config_observer() Notification that a Config Variable has changed observer_t, observer_api
compose_dlg_init() Allocate the Windows for Compose
compose_email_observer() Notification that an Email has changed observer_t, observer_api
compose_window_observer() Notification that a Window has changed observer_t, observer_api
gen_attach_list() Generate the attachment list for the compose screen
mutt_compose_menu() Allow the user to edit the message envelope
update_menu() Redraw the compose window