NeoMutt  2025-04-04-7-g0bfef9
Teaching an old dog new tricks
DOXYGEN
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Simple Dialog

The Simple Dialog is an interactive set of windows containing a Menu and a status bar.

Windows

Name Type See Also
Simple Dialog Variable simple_dialog_new()

The type of the Window is determined by the caller.

Parent

Children

Data

The Simple Dialog exposes access to the Menu in MuttWindow::wdata. The caller may set Menu::mdata to their own data.

Events

Once constructed, it is controlled by the following events:

Event Type Handler
NT_CONFIG simple_config_observer()
NT_WINDOW simple_window_observer()

The Simple Dialog does not implement MuttWindow::recalc() or MuttWindow::repaint(). They are handled by the child windows.

Functions

Function Description Links
simple_config_observer() Notification that a Config Variable has changed observer_t, observer_api
simple_dialog_free() Destroy a simple index Dialog
simple_dialog_new() Create a simple index Dialog
simple_window_observer() Notification that a Window has changed observer_t, observer_api