NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
Sidebar Window

The Sidebar Window is an interactive window that displays a list of mailboxes to the user.

Windows

Name Type See Also
Sidebar Window WT_SIDEBAR mutt_window_new()

Parent

Children

None.

Data

The Sidebar Window stores its data (SidebarWindowData) in MuttWindow::wdata.

Events

Once constructed, it is controlled by the following events:

Event Type Handler
NT_ACCOUNT sb_account_observer()
NT_COLOR sb_color_observer()
NT_COMMAND sb_command_observer()
NT_CONFIG sb_config_observer()
NT_INDEX sb_index_observer()
NT_MAILBOX sb_mailbox_observer()
NT_WINDOW sb_window_observer()
MuttWindow::recalc() sb_recalc()
MuttWindow::repaint() sb_repaint()

Data

Data Description Links
SidebarRenderData Callbacks for Sidebar Expandos

Functions

Function Description Links
abbrev_folder() Abbreviate a Mailbox path using a folder
abbrev_url() Abbreviate a url-style Mailbox path
add_indent() Generate the needed indentation
calc_color() Calculate the colour of a Sidebar row
calc_path_depth() Calculate the depth of a Mailbox path
draw_divider() Draw a line between the sidebar and the rest of neomutt
fill_empty_space() Wipe the remaining Sidebar space
imap_is_prefix() Check if folder matches the beginning of mbox
make_sidebar_entry() Turn mailbox data into a sidebar string
prepare_sidebar() Prepare the list of SbEntry's for the sidebar display
sb_recalc() Recalculate the Sidebar display MuttWindow::recalc(), window_recalc
sb_repaint() Repaint the Sidebar display MuttWindow::repaint(), window_repaint
sidebar_a_num() Sidebar: Alert for new mail ExpandoRenderData::get_number(), expando_get_number_api
sidebar_bang() Sidebar: Flagged flags ExpandoRenderData::get_string(), expando_get_string_api
sidebar_d_num() Sidebar: Number of deleted messages ExpandoRenderData::get_number(), expando_get_number_api
sidebar_n() Sidebar: New mail flag ExpandoRenderData::get_string(), expando_get_string_api
sidebar_n_num() Sidebar: New mail flag ExpandoRenderData::get_number(), expando_get_number_api
sidebar_o_num() Sidebar: Number of old messages ExpandoRenderData::get_number(), expando_get_number_api
sidebar_p_num() Sidebar: Poll for new mail ExpandoRenderData::get_number(), expando_get_number_api
sidebar_r_num() Sidebar: Number of read messages ExpandoRenderData::get_number(), expando_get_number_api
sidebar_t_num() Sidebar: Number of tagged messages ExpandoRenderData::get_number(), expando_get_number_api
update_entries_visibility() Should a SbEntry be displayed in the sidebar?