NeoMutt  2022-04-29-249-gaae397
Teaching an old dog new tricks
DOXYGEN
Change the Menu's position/selection

There are two types of movement function:

Changing the selection may cause the view to move and vice versa.

Functions

Function Description Links
calc_fit_selection_to_view() Move the selection into the view
calc_move_view() Move the view
menu_adjust() Reapply the config to the Menu
menu_bottom_page() Move the focus to the bottom of the page
menu_current_bottom() Move the current selection to the bottom of the window
menu_current_middle() Move the current selection to the centre of the window
menu_current_top() Move the current selection to the top of the window
menu_drag_view() Move the view around the selection
menu_first_entry() Move the focus to the first entry in the menu
menu_half_down() Move the focus down half a page in the menu
menu_half_up() Move the focus up half a page in the menu
menu_last_entry() Move the focus to the last entry in the menu
menu_middle_page() Move the focus to the centre of the page
menu_move_selection() Move the selection, keeping within between [0, menu->max]
menu_move_view_relative() Move the view relatively
menu_next_entry() Move the focus to the next item in the menu
menu_next_line() Move the view down one line, keeping the selection the same
menu_next_page() Move the focus to the next page in the menu
menu_prev_entry() Move the focus to the previous item in the menu
menu_prev_line() Move the view up one line, keeping the selection the same
menu_prev_page() Move the focus to the previous page in the menu
menu_set_and_notify() Set the Menu selection/view and notify others
menu_top_page() Move the focus to the top of the page