NeoMutt  2024-02-01-35-geee02f
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.
 
void(* make_entry )(struct Menu *menu, int line, 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 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 73 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.

◆ make_entry

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

Definition at line 94 of file lib.h.

◆ search

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

Definition at line 107 of file lib.h.

◆ tag

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

Definition at line 119 of file lib.h.

◆ color

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

Definition at line 119 of file lib.h.

◆ notify

struct Notify* Menu::notify

Notifications.

Definition at line 133 of file lib.h.

◆ mdata

void* Menu::mdata

Private data.

Definition at line 135 of file lib.h.

◆ mdata_free

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

Definition at line 149 of file lib.h.


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