NeoMutt  2024-11-14-138-ge5ca67
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
Menu Struct Reference

#include "lib.h"

+ Inheritance diagram for Menu:
+ Collaboration diagram for Menu:

Data Fields

int current
 Current entry.
 
int max
 Number of entries in the menu.
 
MenuRedrawFlags redraw
 When to redraw the screen.
 
enum MenuType type
 Menu definition for keymap entries.
 
int page_len
 Number of entries per screen.
 
bool tag_prefix: 1
 User has pressed <tag-prefix>
 
struct MuttWindowwin
 Window holding the Menu.
 
struct ConfigSubsetsub
 Inherited config items.
 
int top
 Entry that is the top of the current page.
 
int old_current
 For driver use only.
 
int search_dir
 Direction of search.
 
int num_tagged
 Number of tagged entries.
 
int(* make_entry )(struct Menu *menu, int line, int max_cols, struct Buffer *buf)
 
int(* search )(struct Menu *menu, regex_t *rx, int line)
 
int(* tag )(struct Menu *menu, int sel, int act)
 
const struct AttrColor *(* color )(struct Menu *menu, int line)
 
struct Notifynotify
 Notifications.
 
void * mdata
 Private data.
 
void(* mdata_free )(struct Menu *menu, void **ptr)
 

Detailed Description

Definition at line 78 of file lib.h.

Field Documentation

◆ current

int Menu::current

Current entry.

Definition at line 80 of file lib.h.

◆ max

int Menu::max

Number of entries in the menu.

Definition at line 81 of file lib.h.

◆ redraw

MenuRedrawFlags Menu::redraw

When to redraw the screen.

Definition at line 82 of file lib.h.

◆ type

enum MenuType Menu::type

Menu definition for keymap entries.

Definition at line 83 of file lib.h.

◆ page_len

int Menu::page_len

Number of entries per screen.

Definition at line 84 of file lib.h.

◆ tag_prefix

bool Menu::tag_prefix

User has pressed <tag-prefix>

Definition at line 85 of file lib.h.

◆ win

struct MuttWindow* Menu::win

Window holding the Menu.

Definition at line 86 of file lib.h.

◆ sub

struct ConfigSubset* Menu::sub

Inherited config items.

Definition at line 87 of file lib.h.

◆ top

int Menu::top

Entry that is the top of the current page.

Definition at line 90 of file lib.h.

◆ old_current

int Menu::old_current

For driver use only.

Definition at line 91 of file lib.h.

◆ search_dir

int Menu::search_dir

Direction of search.

Definition at line 92 of file lib.h.

◆ num_tagged

int Menu::num_tagged

Number of tagged entries.

Definition at line 93 of file lib.h.

◆ make_entry

int(* Menu::make_entry) (struct Menu *menu, int line, int max_cols, struct Buffer *buf)

Definition at line 106 of file lib.h.

◆ search

int(* Menu::search) (struct Menu *menu, regex_t *rx, int line)

Definition at line 119 of file lib.h.

◆ tag

int(* Menu::tag) (struct Menu *menu, int sel, int act)

Definition at line 131 of file lib.h.

◆ color

const struct AttrColor *(* Menu::color) (struct Menu *menu, int line)

Definition at line 131 of file lib.h.

◆ notify

struct Notify* Menu::notify

Notifications.

Definition at line 145 of file lib.h.

◆ mdata

void* Menu::mdata

Private data.

Definition at line 147 of file lib.h.

◆ mdata_free

void(* Menu::mdata_free) (struct Menu *menu, void **ptr)

Definition at line 161 of file lib.h.


The documentation for this struct was generated from the following file: