NeoMutt  2025-12-11-1042-g26977c0
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.
const struct MenuDefinition * md
 Menu definition for keymap entries.
int page_len
 Number of entries per screen.
bool tag_prefix: 1
 User has pressed <tag-prefix>.
bool show_indicator: 1
 Show the Indicator colour.
struct MuttWindow * win
 Window holding the Menu.
struct ConfigSubset * sub
 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 Notify * notify
 Notifications.
void * mdata
 Private data.
void(* mdata_free )(struct Menu *menu, void **ptr)

Detailed Description

Definition at line 85 of file lib.h.

Field Documentation

◆ current

int Menu::current

Current entry.

Definition at line 87 of file lib.h.

◆ max

int Menu::max

Number of entries in the menu.

Definition at line 88 of file lib.h.

◆ redraw

MenuRedrawFlags Menu::redraw

When to redraw the screen.

Definition at line 89 of file lib.h.

◆ md

const struct MenuDefinition* Menu::md

Menu definition for keymap entries.

Definition at line 90 of file lib.h.

◆ page_len

int Menu::page_len

Number of entries per screen.

Definition at line 91 of file lib.h.

◆ tag_prefix

bool Menu::tag_prefix

User has pressed <tag-prefix>.

Definition at line 92 of file lib.h.

◆ show_indicator

bool Menu::show_indicator

Show the Indicator colour.

Definition at line 93 of file lib.h.

◆ win

struct MuttWindow* Menu::win

Window holding the Menu.

Definition at line 94 of file lib.h.

◆ sub

struct ConfigSubset* Menu::sub

Inherited config items.

Definition at line 95 of file lib.h.

◆ top

int Menu::top

Entry that is the top of the current page.

Definition at line 98 of file lib.h.

◆ old_current

int Menu::old_current

For driver use only.

Definition at line 99 of file lib.h.

◆ search_dir

int Menu::search_dir

Direction of search.

Definition at line 100 of file lib.h.

◆ num_tagged

int Menu::num_tagged

Number of tagged entries.

Definition at line 101 of file lib.h.

◆ make_entry

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

Definition at line 114 of file lib.h.

◆ search

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

Definition at line 127 of file lib.h.

◆ tag

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

Definition at line 139 of file lib.h.

◆ color

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

Definition at line 139 of file lib.h.

◆ notify

struct Notify* Menu::notify

Notifications.

Definition at line 153 of file lib.h.

◆ mdata

void* Menu::mdata

Private data.

Definition at line 155 of file lib.h.

◆ mdata_free

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

Definition at line 169 of file lib.h.


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