NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
DOXYGEN
Menu Struct Reference

#include "lib.h"

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

Public Member Functions

 ARRAY_HEAD (, char *) dialog
 Dialog lines themselves. More...
 

Data Fields

const char * title
 Title of this menu. More...
 
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 pagelen
 Number of entries per screen. More...
 
bool tagprefix: 1
 User has pressed <tag-prefix> More...
 
struct MuttWindowwin
 Window holding the Menu. More...
 
struct MuttWindowwin_ibar
 
struct ConfigSubsetsub
 Inherited config items. More...
 
char * prompt
 Prompt for user, similar to mutt_multi_choice. More...
 
char * keys
 Keys used in the prompt. More...
 
int top
 Entry that is the top of the current page. More...
 
int oldcurrent
 For driver use only. More...
 
int search_dir
 Direction of search. More...
 
int 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)
 
int(* color )(struct Menu *menu, int line)
 
void(* custom_redraw )(struct Menu *menu)
 
struct Notifynotify
 Notifications. More...
 
void * mdata
 Private data. More...
 
void(* mdata_free )(struct Menu *menu, void **ptr)
 

Detailed Description

Definition at line 67 of file lib.h.

Member Function Documentation

◆ ARRAY_HEAD()

Menu::ARRAY_HEAD ( char *  )

Dialog lines themselves.

Field Documentation

◆ title

const char* Menu::title

Title of this menu.

Definition at line 69 of file lib.h.

◆ 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.

◆ pagelen

int Menu::pagelen

Number of entries per screen.

Definition at line 74 of file lib.h.

◆ tagprefix

bool Menu::tagprefix

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.

◆ win_ibar

struct MuttWindow* Menu::win_ibar

Definition at line 77 of file lib.h.

◆ sub

struct ConfigSubset* Menu::sub

Inherited config items.

Definition at line 78 of file lib.h.

◆ prompt

char* Menu::prompt

Prompt for user, similar to mutt_multi_choice.

Definition at line 85 of file lib.h.

◆ keys

char* Menu::keys

Keys used in the prompt.

Definition at line 86 of file lib.h.

◆ top

int Menu::top

Entry that is the top of the current page.

Definition at line 89 of file lib.h.

◆ oldcurrent

int Menu::oldcurrent

For driver use only.

Definition at line 90 of file lib.h.

◆ search_dir

int Menu::search_dir

Direction of search.

Definition at line 91 of file lib.h.

◆ tagged

int Menu::tagged

Number of tagged entries.

Definition at line 92 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 93 of file lib.h.

◆ make_entry

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

Definition at line 105 of file lib.h.

◆ search

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

Definition at line 118 of file lib.h.

◆ tag

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

Definition at line 130 of file lib.h.

◆ color

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

Definition at line 142 of file lib.h.

◆ custom_redraw

void(* Menu::custom_redraw) (struct Menu *menu)

Definition at line 151 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 170 of file lib.h.


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