The Message Preview Window displays a preview of the email body. The content can be scrolled with PAGEUP/PAGEDOWN.
| Name | Type | See Also |
|---|---|---|
| Preview Window | WT_CUSTOM | preview_window_new() |
Parent
Children
None.
The Preview Window stores its data (PreviewWindowData) in MuttWindow::wdata.
Once constructed, it is controlled by the following events:
| Data | Description | Links |
|---|---|---|
| PreviewFunctions | All the functions that the preview window supports |
| 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 |