NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
config.c File Reference

Config used by libmenu. More...

#include "config.h"
#include <stdbool.h>
#include <stddef.h>
#include "config/lib.h"
+ Include dependency graph for config.c:

Go to the source code of this file.

Functions

bool config_init_menu (struct ConfigSet *cs)
 Register menu config variables - Implements module_init_config_t -.
 

Variables

static struct ConfigDef MenuVars []
 Config definitions for the Menu library.
 

Detailed Description

Config used by libmenu.

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 config.c.

Variable Documentation

◆ MenuVars

struct ConfigDef MenuVars[]
static
Initial value:
= {
{ "menu_context", DT_NUMBER|D_INTEGER_NOT_NEGATIVE, 0, 0, NULL,
"Number of lines of overlap when changing pages in the index"
},
{ "menu_move_off", DT_BOOL, true, 0, NULL,
"Allow the last menu item to move off the bottom of the screen"
},
{ "menu_scroll", DT_BOOL, false, 0, NULL,
"Scroll the menu/index by one line, rather than a page"
},
{ NULL },
}
@ DT_NUMBER
a number
Definition: types.h:39
@ DT_BOOL
boolean option
Definition: types.h:32
#define D_INTEGER_NOT_NEGATIVE
Negative numbers are not allowed.
Definition: types.h:101

Config definitions for the Menu library.

Definition at line 37 of file config.c.