NeoMutt  2022-04-29-247-gc6aae8
Teaching an old dog new tricks
DOXYGEN
Attachment Selection Dialog

The Attachment Selection Dialog lets the user select an email attachment.

This is a Simple Dialog

Windows

Name Type See Also
Attachment Selection Dialog WT_DLG_ATTACH dlg_select_attachment()

Parent

Children

Data

The Simple Dialog holds a Menu. The Attachment Selection Dialog stores its data (AttachCtx) in Menu::mdata.

Events

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.

Functions

Function Description Links
attach_config_observer() Notification that a Config Variable has changed observer_t, observer_api
attach_format_str() Format a string for the attachment menu format_t, expando_api
attach_make_entry() Format a menu item for the attachment list 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_select_attachment() Show the attachments in a Menu