Sidebar functions. More...
#include "config.h"#include <stdbool.h>#include <stddef.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 "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) |
| 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 -. | |
| int | sb_function_dispatcher (struct MuttWindow *win, const struct KeyEvent *event) |
| Perform a Sidebar function - Implements function_dispatcher_t -. | |
Variables | |
| static struct SubMenu * | SmSidebar = NULL |
| Sidebar functions. | |
| static const struct MenuFuncOp | OpSidebar [] |
| Functions 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 70 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 | ) |
| bool sb_next | ( | struct SidebarWindowData * | wdata | ) |
Find the next unhidden Mailbox.
| wdata | Sidebar data |
| true | Mailbox found |
Definition at line 92 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 115 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 131 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 157 of file functions.c.
Here is the caller graph for this function:
|
static |
Sidebar functions.
Definition at line 45 of file functions.c.
|
static |
Functions for the Sidebar Window.
Definition at line 51 of file functions.c.
|
static |
All the NeoMutt functions that the Sidebar supports.
Definition at line 402 of file functions.c.