int mview_mailbox_observer(struct NotifyCallback *nc)
Notification that a Mailbox has changed - Implements observer_t -.
struct Email * mutt_get_virt_email(struct Mailbox *m, int vnum)
Get a virtual Email.
NotifyMview
Types of MailboxView Event.
@ NT_MVIEW_DELETE
The Mview is about to be destroyed.
@ NT_MVIEW_CHANGE
The Mview has changed.
@ NT_MVIEW_ADD
The Mview has been opened.
struct Mailbox * mview_mailbox(struct MailboxView *mv)
Wrapper to get the mailbox in a MailboxView, or NULL.
bool mutt_limit_current_thread(struct MailboxView *mv, struct Email *e)
Limit the email view to the current thread.
void mview_free(struct MailboxView **ptr)
Free a MailboxView.
int ea_add_tagged(struct EmailArray *ea, struct MailboxView *mv, struct Email *e, bool use_tagged)
Get an array of the tagged Emails.
bool message_is_tagged(struct Email *e)
Is a message in the index tagged (and within limit)
void mview_update(struct MailboxView *mv)
Update the MailboxView's message counts.
bool mview_has_limit(const struct MailboxView *mv)
Is a limit active?
struct MailboxView * mview_new(struct Mailbox *m, struct Notify *parent)
Create a new MailboxView.
The envelope/body of an email.
int vnum
Virtual message number.
An Event that happened to an MailboxView.
struct MailboxView * mv
The MailboxView this Event relates to.
bool collapsed
Are all threads collapsed?
struct Menu * menu
Needed for pattern compilation.
off_t vsize
Size (in bytes) of the messages shown.
struct Notify * notify
Notifications: NotifyMview, EventMview.
struct PatternList * limit_pattern
Compiled limit pattern.
struct ThreadsContext * threads
Threads context.
int msg_in_pager
Message currently shown in the pager.
struct Mailbox * mailbox
Current Mailbox.
char * pattern
Limit pattern string.
Data passed to a notification function.
The "current" threading state.