NeoMutt  2025-12-11-435-g4ac674
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
lib.h File Reference

GUI editor for an email's headers. More...

#include <stdint.h>
+ Include dependency graph for lib.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MUTT_COMPOSE_NOFREEHEADER   (1 << 0)
 Don't free the header when closing compose dialog.
 

Functions

void compose_init_keys (struct SubMenu *sm_generic)
 Initialise the Compose Keybindings - Implements ::init_keys_api.
 
int dlg_compose (struct Email *e, struct Buffer *fcc, uint8_t flags, struct ConfigSubset *sub)
 Allow the user to edit the message envelope -.
 

Detailed Description

GUI editor for an email's headers.

Authors
  • Richard Russon

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file lib.h.

Macro Definition Documentation

◆ MUTT_COMPOSE_NOFREEHEADER

#define MUTT_COMPOSE_NOFREEHEADER   (1 << 0)

Don't free the header when closing compose dialog.

Definition at line 54 of file lib.h.

Function Documentation

◆ compose_init_keys()

void compose_init_keys ( struct SubMenu * sm_generic)

Initialise the Compose Keybindings - Implements ::init_keys_api.

Definition at line 211 of file functions.c.

212{
213 struct MenuDefinition *md = NULL;
214 struct SubMenu *sm = NULL;
215
217 md = km_register_menu(MENU_COMPOSE, "compose");
218 km_menu_add_submenu(md, sm);
219 km_menu_add_submenu(md, sm_generic);
221
222 MdCompose = md;
223}
static const struct MenuFuncOp OpCompose[]
Functions for the Compose Menu.
Definition functions.c:80
struct MenuDefinition * MdCompose
Compose Menu Definition.
Definition functions.c:74
static const struct MenuOpSeq ComposeDefaultBindings[]
Key bindings for the Compose Menu.
Definition functions.c:148
void km_menu_add_submenu(struct MenuDefinition *md, struct SubMenu *sm)
Add a SubMenu to a Menu Definition.
Definition init.c:123
struct SubMenu * km_register_submenu(const struct MenuFuncOp functions[])
Register a submenu.
Definition init.c:91
struct MenuDefinition * km_register_menu(int menu, const char *name)
Register a menu.
Definition init.c:107
void km_menu_add_bindings(struct MenuDefinition *md, const struct MenuOpSeq bindings[])
Add Keybindings to a Menu.
Definition init.c:136
Functions for a Dialog or Window.
Definition menu.h:80
Collection of related functions.
Definition menu.h:68
@ MENU_COMPOSE
Compose an email.
Definition type.h:40
+ Here is the call graph for this function:
+ Here is the caller graph for this function: