NeoMutt  2022-04-29-81-g9c5a59
Teaching an old dog new tricks
DOXYGEN
Menu Struct Reference

#include "lib.h"

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

Data Fields

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

Detailed Description

Definition at line 68 of file lib.h.

Field Documentation

◆ current

int Menu::current

Current entry.

Definition at line 70 of file lib.h.

◆ max

int Menu::max

Number of entries in the menu.

Definition at line 71 of file lib.h.

◆ redraw

MenuRedrawFlags Menu::redraw

When to redraw the screen.

Definition at line 72 of file lib.h.

◆ type

enum MenuType Menu::type

Menu definition for keymap entries.

Definition at line 72 of file lib.h.

◆ page_len

int Menu::page_len

Number of entries per screen.

Definition at line 74 of file lib.h.

◆ tag_prefix

bool Menu::tag_prefix

User has pressed <tag-prefix>

Definition at line 75 of file lib.h.

◆ win

struct MuttWindow* Menu::win

Window holding the Menu.

Definition at line 76 of file lib.h.

◆ sub

struct ConfigSubset* Menu::sub

Inherited config items.

Definition at line 77 of file lib.h.

◆ top

int Menu::top

Entry that is the top of the current page.

Definition at line 80 of file lib.h.

◆ old_current

int Menu::old_current

For driver use only.

Definition at line 81 of file lib.h.

◆ search_dir

int Menu::search_dir

Direction of search.

Definition at line 82 of file lib.h.

◆ num_tagged

int Menu::num_tagged

Number of tagged entries.

Definition at line 83 of file lib.h.

◆ custom_search

bool Menu::custom_search

The menu implements its own non-Menusearch()-compatible search, trickle OP_SEARCH*.

Definition at line 84 of file lib.h.

◆ make_entry

void(* Menu::make_entry) (struct Menu *menu, char *buf, size_t buflen, int line)

Definition at line 96 of file lib.h.

◆ search

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

Definition at line 109 of file lib.h.

◆ tag

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

Definition at line 121 of file lib.h.

◆ color

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

Definition at line 121 of file lib.h.

◆ notify

struct Notify* Menu::notify

Notifications.

Definition at line 135 of file lib.h.

◆ mdata

void* Menu::mdata

Private data.

Definition at line 137 of file lib.h.

◆ mdata_free

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

Definition at line 152 of file lib.h.


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