Sidebar functions. More...
#include "config.h"#include <stdbool.h>#include <string.h>#include "private.h"#include "mutt/lib.h"#include "config/lib.h"#include "core/lib.h"#include "gui/lib.h"#include "functions.h"#include "lib.h"#include "editor/lib.h"#include "fuzzy/lib.h"#include "history/lib.h"#include "index/lib.h"#include "key/lib.h"#include "menu/lib.h"
Include dependency graph for functions.c:Go to the source code of this file.
Functions | |
| void | sidebar_init_keys (struct SubMenu *sm_generic) |
| Initialise the Sidebar Keybindings - Implements ::init_keys_api. | |
| struct SubMenu * | sidebar_get_submenu (void) |
| Get the Sidebar SubMenu. | |
| bool | sb_next (struct SidebarWindowData *wdata) |
| Find the next unhidden Mailbox. | |
| static struct SbEntry ** | sb_next_new (struct SidebarWindowData *wdata, size_t begin, size_t end) |
| Return the next mailbox with new messages. | |
| bool | sb_prev (struct SidebarWindowData *wdata) |
| Find the previous unhidden Mailbox. | |
| static struct SbEntry ** | sb_prev_new (struct SidebarWindowData *wdata, size_t begin, size_t end) |
| Return the previous mailbox with new messages. | |
| static int | op_sidebar_first (struct SidebarWindowData *wdata, const struct KeyEvent *event) |
| Selects the first unhidden mailbox - Implements sidebar_function_t -. | |
| static int | op_sidebar_last (struct SidebarWindowData *wdata, const struct KeyEvent *event) |
| Selects the last unhidden mailbox - Implements sidebar_function_t -. | |
| static int | op_sidebar_next (struct SidebarWindowData *wdata, const struct KeyEvent *event) |
| Selects the next unhidden mailbox - Implements sidebar_function_t -. | |
| static int | op_sidebar_next_new (struct SidebarWindowData *wdata, const struct KeyEvent *event) |
| Selects the next new mailbox - Implements sidebar_function_t -. | |
| static int | op_sidebar_open (struct SidebarWindowData *wdata, const struct KeyEvent *event) |
| Open highlighted mailbox - Implements sidebar_function_t -. | |
| static int | op_sidebar_page_down (struct SidebarWindowData *wdata, const struct KeyEvent *event) |
| Selects the first entry in the next page of mailboxes - Implements sidebar_function_t -. | |
| static int | op_sidebar_page_up (struct SidebarWindowData *wdata, const struct KeyEvent *event) |
| Selects the last entry in the previous page of mailboxes - Implements sidebar_function_t -. | |
| static int | op_sidebar_prev (struct SidebarWindowData *wdata, const struct KeyEvent *event) |
| Selects the previous unhidden mailbox - Implements sidebar_function_t -. | |
| static int | op_sidebar_prev_new (struct SidebarWindowData *wdata, const struct KeyEvent *event) |
| Selects the previous new mailbox - Implements sidebar_function_t -. | |
| static int | op_sidebar_toggle_visible (struct SidebarWindowData *wdata, const struct KeyEvent *event) |
| Make the sidebar (in)visible - Implements sidebar_function_t -. | |
| static int | op_sidebar_toggle_virtual (struct SidebarWindowData *wdata, const struct KeyEvent *event) |
| Deprecated - Implements sidebar_function_t -. | |
| static void | sidebar_matcher_cb (const char *text, void *data) |
| React to keys as they are entered - Implements get_field_callback_t. | |
| static int | op_sidebar_abort_search (struct SidebarWindowData *wdata, const struct KeyEvent *event) |
| Close the Sidebar Search - Implements sidebar_function_t -. | |
| static int | op_sidebar_start_search (struct SidebarWindowData *wdata, const struct KeyEvent *event) |
| Selects the last unhidden mailbox - Implements sidebar_function_t -. | |
| int | sb_function_dispatcher (struct MuttWindow *win, const struct KeyEvent *event) |
| Perform a Sidebar function - Implements function_dispatcher_t -. | |
Variables | |
| struct MenuDefinition * | MdSidebar = NULL |
| Sidebar Menu Definition. | |
| struct SubMenu * | SmSidebar = NULL |
| Sidebar functions. | |
| static const struct MenuFuncOp | OpSidebar [] |
| Functions for the Sidebar Window. | |
| const struct MenuOpSeq | SidebarDefaultBindings [] |
| Key bindings for the Sidebar Window. | |
| static const struct SidebarFunction | SidebarFunctions [] |
| All the NeoMutt functions that the Sidebar supports. | |
Sidebar functions.
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 functions.c.
| void sidebar_init_keys | ( | struct SubMenu * | sm_generic | ) |
Initialise the Sidebar Keybindings - Implements ::init_keys_api.
Definition at line 87 of file functions.c.
Here is the call graph for this function:
Here is the caller graph for this function:| struct SubMenu * sidebar_get_submenu | ( | void | ) |
Get the Sidebar SubMenu.
| ptr | Sidebar SubMenu |
Definition at line 106 of file functions.c.
Here is the caller graph for this function:| bool sb_next | ( | struct SidebarWindowData * | wdata | ) |
Find the next unhidden Mailbox.
| wdata | Sidebar data |
| true | Mailbox found |
Definition at line 116 of file functions.c.
Here is the caller graph for this function:
|
static |
Return the next mailbox with new messages.
| wdata | Sidebar data |
| begin | Starting index for searching |
| end | Ending index for searching |
| ptr | Pointer to the first entry with new messages |
| NULL | None could be found |
Definition at line 139 of file functions.c.
Here is the caller graph for this function:| bool sb_prev | ( | struct SidebarWindowData * | wdata | ) |
Find the previous unhidden Mailbox.
| wdata | Sidebar data |
| true | Mailbox found |
Definition at line 155 of file functions.c.
Here is the caller graph for this function:
|
static |
Return the previous mailbox with new messages.
| wdata | Sidebar data |
| begin | Starting index for searching |
| end | Ending index for searching |
| ptr | Pointer to the first entry with new messages |
| NULL | None could be found |
Definition at line 181 of file functions.c.
Here is the caller graph for this function:
|
static |
React to keys as they are entered - Implements get_field_callback_t.
Definition at line 424 of file functions.c.
Here is the call graph for this function:
Here is the caller graph for this function:| struct MenuDefinition* MdSidebar = NULL |
Sidebar Menu Definition.
Definition at line 48 of file functions.c.
| struct SubMenu* SmSidebar = NULL |
Sidebar functions.
Definition at line 51 of file functions.c.
|
static |
Functions for the Sidebar Window.
Definition at line 57 of file functions.c.
| const struct MenuOpSeq SidebarDefaultBindings[] |
Key bindings for the Sidebar Window.
Definition at line 77 of file functions.c.
|
static |
All the NeoMutt functions that the Sidebar supports.
Definition at line 583 of file functions.c.