NeoMutt  2025-12-11-911-gd8d604
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_PAGER_FUNCTIONS_H
24#define MUTT_PAGER_FUNCTIONS_H
25
26#include <stdbool.h>
27
28struct KeyEvent;
29struct MuttWindow;
30struct PagerPrivateData;
31struct PagerView;
32
43
57typedef int (*pager_function_t)(struct PagerFunctionData *fdata,
58 const struct KeyEvent *event);
59
68
69int pager_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event);
70bool jump_to_bottom(struct PagerPrivateData *priv, struct PagerView *pview);
72
73#define MdPager (pager_get_menu_definition())
74
75#endif /* MUTT_PAGER_FUNCTIONS_H */
int pager_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event)
Perform a Pager function - Implements function_dispatcher_t -.
Definition functions.c:1207
struct MenuDefinition * pager_get_menu_definition(void)
Get the Pager Menu Definition.
Definition functions.c:1267
bool jump_to_bottom(struct PagerPrivateData *priv, struct PagerView *pview)
Make sure the bottom line is displayed.
Definition functions.c:388
int(* pager_function_t)(struct PagerFunctionData *fdata, const struct KeyEvent *event)
Definition functions.h:57
Data shared between Index, Pager and Sidebar.
Definition shared_data.h:37
An event such as a keypress.
Definition get.h:75
Functions for a Dialog or Window.
Definition menu.h:77
Container for Accounts, Notifications.
Definition neomutt.h:41
Data passed to Pager worker functions.
Definition functions.h:37
struct IndexSharedData * shared
Shared Index data.
Definition functions.h:40
struct PagerModuleData * mod_data
Pager module data.
Definition functions.h:39
struct PagerPrivateData * priv
Private Pager data.
Definition functions.h:41
struct NeoMutt * n
NeoMutt application data.
Definition functions.h:38
A NeoMutt function.
Definition functions.h:64
pager_function_t function
Function to call.
Definition functions.h:66
int op
Op code, e.g. OP_MAIN_LIMIT.
Definition functions.h:65
Pager private Module data.
Definition module_data.h:30
Private state data for the Pager.
Paged view into some data.
Definition lib.h:173