NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
SidebarWindowData Struct Reference

Sidebar private Window data -. More...

#include "private.h"

+ Inheritance diagram for SidebarWindowData:
+ Collaboration diagram for SidebarWindowData:

Public Member Functions

 ARRAY_HEAD (, struct SbEntry *) entries
 Shared Index Data. More...
- Public Member Functions inherited from MuttWindow
 TAILQ_ENTRY (MuttWindow) entries
 Linked list. More...

Data Fields

struct IndexSharedDatashared
int top_index
 First mailbox visible in sidebar. More...
int opn_index
 Current (open) mailbox. More...
int hil_index
 Highlighted mailbox. More...
int bot_index
 Last mailbox visible in sidebar. More...
short previous_sort
 Old $sidebar_sort_method More...
enum DivType divider_type
 Type of divider to use, e.g. SB_DIV_ASCII. More...
short divider_width
 Width of the divider in screen columns. More...
- Data Fields inherited from MuttWindow
short req_cols
 Number of columns required. More...
short req_rows
 Number of rows required. More...
struct WindowState state
 Current state of the Window. More...
struct WindowState old
 Previous state of the Window. More...
enum MuttWindowOrientation orient
 Which direction the Window will expand. More...
enum MuttWindowSize size
 Type of Window, e.g. MUTT_WIN_SIZE_FIXED. More...
WindowActionFlags actions
 Actions to be performed, e.g. WA_RECALC. More...
struct MuttWindowparent
 Parent Window. More...
struct MuttWindowList children
 Children Windows. More...
struct Notifynotify
 Notifications: NotifyWindow, EventWindow. More...
struct MuttWindowfocus
 Focussed Window. More...
int help_menu
 Menu for key bindings, e.g. MENU_PAGER. More...
const struct Mappinghelp_data
 Data for the Help Bar. More...
enum WindowType type
 Window type, e.g. WT_SIDEBAR. More...
void * wdata
 Private data. More...
void(* wdata_free )(struct MuttWindow *win, void **ptr)
int(* recalc )(struct MuttWindow *win)
int(* repaint )(struct MuttWindow *win)

Detailed Description

Sidebar private Window data -.

Definition at line 62 of file private.h.

Member Function Documentation


SidebarWindowData::ARRAY_HEAD ( struct SbEntry )

Shared Index Data.

Items to display in the sidebar

Field Documentation

◆ shared

struct IndexSharedData* SidebarWindowData::shared

Definition at line 64 of file private.h.

◆ top_index

int SidebarWindowData::top_index

First mailbox visible in sidebar.

Definition at line 67 of file private.h.

◆ opn_index

int SidebarWindowData::opn_index

Current (open) mailbox.

Definition at line 68 of file private.h.

◆ hil_index

int SidebarWindowData::hil_index

Highlighted mailbox.

Definition at line 69 of file private.h.

◆ bot_index

int SidebarWindowData::bot_index

Last mailbox visible in sidebar.

Definition at line 70 of file private.h.

◆ previous_sort

short SidebarWindowData::previous_sort

Old $sidebar_sort_method

Definition at line 72 of file private.h.

◆ divider_type

enum DivType SidebarWindowData::divider_type

Type of divider to use, e.g. SB_DIV_ASCII.

Definition at line 73 of file private.h.

◆ divider_width

short SidebarWindowData::divider_width

Width of the divider in screen columns.

Definition at line 74 of file private.h.

The documentation for this struct was generated from the following file: