NeoMutt  2021-02-05
Teaching an old dog new tricks
DOXYGEN
dialog.h
Go to the documentation of this file.
1 
23 #ifndef MUTT_GUI_DIALOG_H
24 #define MUTT_GUI_DIALOG_H
25 
26 #include "mutt_window.h"
27 
28 struct Menu;
29 
30 struct MuttWindow *dialog_create_simple_index(struct Menu *menu, enum WindowType type);
31 void dialog_destroy_simple_index(struct MuttWindow **ptr);
32 struct MuttWindow *dialog_find(struct MuttWindow *win);
33 void dialog_pop(void);
34 void dialog_push(struct MuttWindow *dlg);
35 
36 #endif /* MUTT_GUI_DIALOG_H */
GUI selectable list of items.
Definition: mutt_menu.h:52
Window management.
struct MuttWindow * dialog_find(struct MuttWindow *win)
Find the parent Dialog of a Window.
Definition: dialog.c:46
WindowType
Type of Window.
Definition: mutt_window.h:66
A division of the screen.
Definition: mutt_window.h:115
void dialog_pop(void)
Hide a Window from the user.
Definition: dialog.c:98
void dialog_push(struct MuttWindow *dlg)
Display a Window to the user.
Definition: dialog.c:66
void dialog_destroy_simple_index(struct MuttWindow **ptr)
Destroy a simple index Dialog.
Definition: dialog.c:209
struct MuttWindow * dialog_create_simple_index(struct Menu *menu, enum WindowType type)
Create a simple index Dialog.
Definition: dialog.c:165
enum WindowType type
Window type, e.g. WT_SIDEBAR.
Definition: mutt_window.h:137