61 int rc = regexec(rx, buf->
data, 0, NULL, 0);
119 struct Menu *menu = *ptr;
Color and attribute parsing.
struct AttrColor * simple_color_get(enum ColorId cid)
Get the colour of an object by its ID.
@ MT_COLOR_NORMAL
Plain text.
Convenience wrapper for the gui headers.
#define MUTT_MEM_CALLOC(n, type)
Convenience wrapper for the library headers.
struct Notify * notify_new(void)
Create a new notifications handler.
void notify_set_parent(struct Notify *notify, struct Notify *parent)
Set the parent notification handler.
void notify_free(struct Notify **ptr)
Free a notification handler.
struct MuttWindow * window_get_focus(void)
Get the currently focused Window.
#define WA_RECALC
Recalculate the contents of the Window.
@ WT_CUSTOM
Window with a custom drawing function.
@ WT_PAGER
A panel containing the Pager Window.
@ WT_MENU
An Window containing a Menu.
struct Buffer * buf_pool_get(void)
Get a Buffer from the pool.
void buf_pool_release(struct Buffer **ptr)
Return a Buffer to the pool.
A curses colour and its attributes.
String manipulation buffer.
char * data
Pointer to data.
A set of inherited config items.
struct WindowState state
Current state of the Window.
void * wdata
Private data.
struct Notify * notify
Notifications: NotifyWindow, EventWindow.
struct MuttWindow * parent
Parent Window.
WindowActionFlags actions
Actions to be performed, e.g. WA_RECALC.
enum WindowType type
Window type, e.g. WT_SIDEBAR.
short rows
Number of rows, can be MUTT_WIN_SIZE_UNLIMITED.
MenuType
Types of GUI selections.
@ MENU_INDEX
Index panel (list of emails)
@ MENU_GENERIC
Generic selection list.
@ MENU_PAGER
Pager pager (email viewer)