The Compose Email Dialog lets the user edit the fields before sending an email. They can also add/remove/reorder attachments.
| Name | Type | See Also |
|---|---|---|
| Compose Email Dialog | WT_DLG_COMPOSE | dlg_compose() |
Parent
Children
The Compose Email Dialog stores its data (ComposeSharedData) in MuttWindow::wdata.
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 | 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_recalc() | Recalculate the Window data | MuttWindow::recalc(), window_recalc |
| compose_window_observer() | Notification that a Window has changed | observer_t, observer_api |
| dlg_compose() | Allow the user to edit the message envelope | gui_dlg |
| gen_attach_list() | Generate the attachment list for the compose screen | |
| update_menu() | Redraw the compose window |