NeoMutt  2024-11-14-138-ge5ca67
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()

Functions

Function Description Links
abbrev_folder() Abbreviate a Mailbox path using a folder
abbrev_url() Abbreviate a url-style Mailbox path
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
update_entries_visibility() Should a SbEntry be displayed in the sidebar?