NeoMutt  2025-01-09-41-g086358
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
Message Preview Window

The Message Preview Window displays a preview of the email body.

The content can be scrolled with PAGEUP/PAGEDOWN.

Windows

Name Type See Also
Preview Window WT_CUSTOM preview_window_new()

Parent

Children

None.

Data

The Preview Window stores its data (PreviewWindowData) in MuttWindow::wdata.

Events

Once constructed, it is controlled by the following events:

Event Type Handler
NT_COLOR preview_color_observer()
NT_EMAIL (NT_ENVELOPE) preview_email_observer()
NT_WINDOW preview_window_observer()
MuttWindow::recalc() preview_recalc()
MuttWindow::repaint() preview_repaint()

Data

Data Description Links
PreviewFunctions All the functions that the preview window supports

Functions

Function Description Links
draw_preview() Write the message preview to the compose window
preview_color_observer() Notification that a Color has changed observer_t, observer_api
preview_email_observer() Notification that the Email has changed observer_t, observer_api
preview_function_dispatcher() Perform a preview function function_dispatcher_t, dispatcher_api
preview_page_down() Show the previous page of the message preview_function_t, preview_function_api
preview_page_up() Show the previous page of the message preview_function_t, preview_function_api
preview_recalc() Recalculate the Window data MuttWindow::recalc(), window_recalc
preview_repaint() Repaint the Window MuttWindow::repaint(), window_repaint
preview_wdata_free() Free the Preview Data MuttWindow::wdata_free(), window_wdata_free
preview_wdata_new() Create new Preview Data
preview_window_new() Create the preview window
preview_window_observer() Notification that a Window has changed observer_t, observer_api