NeoMutt  2024-11-14-34-g5aaf0d
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
Envelope Window

The Envelope Window displays the header fields of an email.

Windows

Name Type See Also
Envelope Window WT_CUSTOM env_window_new()

Parent

Children

None.

Data

The Envelope Window stores its data (EnvelopeWindowData) in MuttWindow::wdata.

Events

Once constructed, it is controlled by the following events:

Event Type Handler
NT_COLOR env_color_observer()
NT_CONFIG env_config_observer()
NT_EMAIL (NT_ENVELOPE) env_email_observer()
NT_HEADER env_header_observer()
NT_WINDOW env_window_observer()
MuttWindow::recalc() env_recalc()
MuttWindow::repaint() env_repaint()

Functions

Function Description Links
calc_address() Calculate how many rows an AddressList will need
calc_envelope() Calculate how many rows the envelope will need
calc_header_width_padding() Calculate the width needed for the compose labels
calc_security() Calculate how many rows the security info will need
calc_user_hdrs() Calculate how many rows are needed for user-defined headers
draw_crypt_lines() Update the encryption info in the compose window
draw_envelope() Write the email headers to the compose window
draw_envelope_addr() Write addresses to the compose window
draw_envelope_user_hdrs() Write user-defined headers to the compose window
draw_floating() Draw a floating label
draw_header() Draw an aligned label
draw_header_content() Draw content on a separate line aligned to header prompt
env_color_observer() Notification that a Color has changed observer_t, observer_api
env_config_observer() Notification that a Config Variable has changed observer_t, observer_api
env_email_observer() Notification that the Email has changed observer_t, observer_api
env_header_observer() Notification that a User Header has changed observer_t, observer_api
env_recalc() Recalculate the Window data MuttWindow::recalc(), window_recalc
env_repaint() Repaint the Window MuttWindow::repaint(), window_repaint
env_window_new() Create the Envelope Window
env_window_observer() Notification that a Window has changed observer_t, observer_api
init_header_padding() Calculate how much padding the compose table will need