NeoMutt
2025-12-11-435-g4ac674
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
functions.h
Go to the documentation of this file.
1
22
23
#ifndef MUTT_MENU_FUNCTIONS_H
24
#define MUTT_MENU_FUNCTIONS_H
25
26
#include "
key/lib.h
"
27
28
struct
Menu
;
29
43
typedef
int (*
menu_function_t
)(
struct
Menu
*menu,
const
struct
KeyEvent
*event);
44
48
struct
MenuFunction
49
{
50
int
op
;
51
menu_function_t
function
;
52
};
53
54
#endif
/* MUTT_MENU_FUNCTIONS_H */
lib.h
Manage keymappings.
menu_function_t
int(* menu_function_t)(struct Menu *menu, const struct KeyEvent *event)
Definition
functions.h:43
KeyEvent
An event such as a keypress.
Definition
get.h:50
MenuFunction
A NeoMutt function.
Definition
functions.h:49
MenuFunction::function
menu_function_t function
Function to call.
Definition
functions.h:51
MenuFunction::op
int op
Op code, e.g. OP_SEARCH.
Definition
functions.h:50
Menu
Definition
lib.h:80