The Attachment Selection Dialog lets the user select an email attachment.
This is a Simple Dialog
| Name | Type | See Also |
|---|---|---|
| Attachment Selection Dialog | WT_DLG_ATTACHMENT | dlg_attachment() |
Parent
Children
The Simple Dialog holds a Menu. The Attachment Selection Dialog stores its data (AttachCtx) in Menu::mdata.
Once constructed, it is controlled by the following events:
| Event Type | Handler |
|---|---|
| NT_CONFIG | attach_config_observer() |
| NT_WINDOW | attach_window_observer() |
The Attachment Selection Dialog doesn't have any specific colours, so it doesn't need to support NT_COLOR.
The Attachment Selection Dialog does not implement MuttWindow::recalc() or MuttWindow::repaint().
Some other events are handled by the Simple Dialog.
| Function | Description | Links |
|---|---|---|
| attach_config_observer() | Notification that a Config Variable has changed | observer_t, observer_api |
| attach_make_entry() | Format an Attachment for the Menu | Menu::make_entry(), menu_make_entry |
| attach_tag() | Tag an attachment | Menu::tag(), menu_tag |
| attach_window_observer() | Notification that a Window has changed | observer_t, observer_api |
| dlg_attachment() | Show the attachments in a Menu | gui_dlg |