76#ifdef USE_DEBUG_WINDOW
131#ifdef USE_DEBUG_WINDOW
171#ifdef USE_DEBUG_WINDOW
194 if (ev_w->
win != win_alldlgs)
Convenience wrapper for the debug headers.
void debug_win_dump(void)
void dialog_push(struct MuttWindow *dlg)
Display a Window to the user.
void dialog_pop(void)
Hide a Window from the user.
struct MuttWindow * AllDialogsWindow
Parent of all Dialogs.
struct MuttWindow * alldialogs_new(void)
Create the AllDialogs Window.
struct MuttWindow * dialog_find(struct MuttWindow *win)
Find the parent Dialog of a Window.
#define mutt_debug(LEVEL,...)
static int alldialogs_window_observer(struct NotifyCallback *nc)
Notification that a Window has changed - Implements observer_t -.
@ LL_DEBUG5
Log at debug level 5.
@ LL_NOTIFY
Log of notifications.
Convenience wrapper for the library headers.
bool notify_observer_remove(struct Notify *notify, const observer_t callback, const void *global_data)
Remove an observer from an object.
bool notify_observer_add(struct Notify *notify, enum NotifyType type, observer_t callback, void *global_data)
Add an observer to an object.
bool notify_send(struct Notify *notify, enum NotifyType event_type, int event_subtype, void *event_data)
Send out a notification message.
void notify_set_parent(struct Notify *notify, struct Notify *parent)
Set the parent notification handler.
void mutt_window_reflow(struct MuttWindow *win)
Resize a Window and its children.
const char * mutt_window_win_name(const struct MuttWindow *win)
Get the name of a Window.
struct MuttWindow * mutt_window_new(enum WindowType type, enum MuttWindowOrientation orient, enum MuttWindowSize size, int cols, int rows)
Create a new Window.
@ WT_ALL_DIALOGS
Container for All Dialogs (nested Windows)
@ MUTT_WIN_ORIENT_VERTICAL
Window uses all available vertical space.
@ NT_WINDOW_DIALOG
A new Dialog Window has been created, e.g. WT_DLG_INDEX.
@ NT_WINDOW_DELETE
Window is about to be deleted.
#define WN_VISIBLE
Window became visible.
#define WN_HIDDEN
Window became hidden.
#define MUTT_WIN_SIZE_UNLIMITED
Use as much space as possible.
@ MUTT_WIN_SIZE_MAXIMISE
Window wants as much space as possible.
@ NT_WINDOW
MuttWindow has changed, NotifyWindow, EventWindow.
#define TAILQ_INSERT_TAIL(head, elm, field)
#define TAILQ_REMOVE(head, elm, field)
#define TAILQ_LAST(head, headname)
An Event that happened to a Window.
struct MuttWindow * win
Window that changed.
struct WindowState state
Current state of the Window.
struct MuttWindow * focus
Focused Window.
struct Notify * notify
Notifications: NotifyWindow, EventWindow.
struct MuttWindowList children
Children Windows.
struct MuttWindow * parent
Parent Window.
enum WindowType type
Window type, e.g. WT_SIDEBAR.
Data passed to a notification function.
void * event_data
Data from notify_send()
enum NotifyType event_type
Send: Event type, e.g. NT_ACCOUNT.
int event_subtype
Send: Event subtype, e.g. NT_ACCOUNT_ADD.
void * global_data
Data from notify_observer_add()
bool visible
Window is visible.