NeoMutt  2024-12-12-19-ge4b57e
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
simple.h
Go to the documentation of this file.
1
23#ifndef MUTT_GUI_SIMPLE_H
24#define MUTT_GUI_SIMPLE_H
25
26#include "menu/lib.h"
27#include "mutt_window.h"
28
29struct Mapping;
30
35{
36 struct MuttWindow *dlg;
37 struct MuttWindow *sbar;
38 struct Menu *menu;
39};
40
41struct SimpleDialogWindows simple_dialog_new(enum MenuType mtype, enum WindowType wtype, const struct Mapping *help_data);
42void simple_dialog_free(struct MuttWindow **ptr);
43
44#endif /* MUTT_GUI_SIMPLE_H */
GUI present the user with a selectable list.
Window management.
WindowType
Type of Window.
Definition: mutt_window.h:71
void simple_dialog_free(struct MuttWindow **ptr)
Destroy a simple index Dialog.
Definition: simple.c:168
struct SimpleDialogWindows simple_dialog_new(enum MenuType mtype, enum WindowType wtype, const struct Mapping *help_data)
Create a simple index Dialog.
Definition: simple.c:132
Mapping between user-readable string and a constant.
Definition: mapping.h:33
Definition: lib.h:79
Tuple for the results of simple_dialog_new()
Definition: simple.h:35
struct MuttWindow * sbar
Simple Bar.
Definition: simple.h:37
struct Menu * menu
Menu.
Definition: simple.h:38
struct MuttWindow * dlg
Main Dialog Window.
Definition: simple.h:36
MenuType
Types of GUI selections.
Definition: type.h:36