NeoMutt  2024-04-16-36-g75b6fb
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
Pattern Selection Dialog

The Pattern Selection Dialog lets the user select a pattern.

This is a Simple Dialog

Windows

Name Type See Also
Pattern Selection Dialog WT_DLG_PATTERN dlg_pattern()

Parent

Children

Data

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

Events

Once constructed, it is controlled by the following events:

Event Type Handler
NT_CONFIG pattern_config_observer()
NT_WINDOW pattern_window_observer()

The Pattern Selection Dialog doesn't have any specific colours, so it doesn't need to support NT_COLOR.

The Pattern Selection Dialog does not implement MuttWindow::recalc() or MuttWindow::repaint().

Some other events are handled by the Simple Dialog.

Data

Data Description Links
PatternRenderData Callbacks for Pattern Expandos

Functions

Function Description Links
create_pattern_menu() Create the Pattern Completion menu
dlg_pattern() Show menu to select a Pattern gui_dlg
free_pattern_menu() Free the Pattern Completion menu Menu::mdata_free(), menu_mdata_free
pattern_config_observer() Notification that a Config Variable has changed observer_t, observer_api
pattern_d() Pattern: pattern description ExpandoRenderData::get_string(), expando_get_string_api
pattern_e() Pattern: pattern expression ExpandoRenderData::get_string(), expando_get_string_api
pattern_make_entry() Create a Pattern for the Menu Menu::make_entry(), menu_make_entry
pattern_n_num() Pattern: Index number ExpandoRenderData::get_number(), expando_get_number_api
pattern_window_observer() Notification that a Window has changed observer_t, observer_api