#include "config.h"
#include <stdbool.h>
#include <stddef.h>
#include "mutt/lib.h"
#include "msgcont.h"
#include "mutt_window.h"
Go to the source code of this file.
Functions | |
struct MuttWindow * | msgcont_new (void) |
Create a new Message Container. | |
struct MuttWindow * | msgcont_pop_window (void) |
Remove the last Window from the Container Stack. | |
void | msgcont_push_window (struct MuttWindow *win) |
Add a window to the Container Stack. | |
struct MuttWindow * | msgcont_get_msgwin (void) |
Get the Message Window. | |
Variables | |
struct MuttWindow * | MessageContainer = NULL |
Window acting as a stack for the message windows. | |
Message Container.
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 msgcont.c.
struct MuttWindow * msgcont_new | ( | void | ) |
Create a new Message Container.
ptr | New Container Window |
Definition at line 46 of file msgcont.c.
struct MuttWindow * msgcont_pop_window | ( | void | ) |
Remove the last Window from the Container Stack.
ptr | Window removed from the stack |
Definition at line 57 of file msgcont.c.
void msgcont_push_window | ( | struct MuttWindow * | win | ) |
Add a window to the Container Stack.
win | Window to add |
Definition at line 93 of file msgcont.c.
struct MuttWindow * msgcont_get_msgwin | ( | void | ) |
Get the Message Window.
ptr | Message Window |
The Message Window is the first child of the MessageContainer and will have type WT_MESSAGE.
Definition at line 117 of file msgcont.c.
struct MuttWindow* MessageContainer = NULL |