Window wrapper around a Menu. More...
#include "config.h"
#include <stdbool.h>
#include "private.h"
#include "mutt/lib.h"
#include "config/lib.h"
#include "gui/lib.h"
#include "lib.h"
#include "type.h"
Go to the source code of this file.
Functions | |
static int | menu_recalc (struct MuttWindow *win) |
Recalculate the Window data - Implements MuttWindow::recalc() -. | |
static int | menu_repaint (struct MuttWindow *win) |
Repaint the Window - Implements MuttWindow::repaint() -. | |
static void | menu_wdata_free (struct MuttWindow *win, void **ptr) |
Free the Menu - Implements MuttWindow::wdata_free() -. | |
struct MuttWindow * | menu_window_new (enum MenuType type, struct ConfigSubset *sub) |
Create a new Menu Window. | |
Window wrapper around a Menu.
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 window.c.
struct MuttWindow * menu_window_new | ( | enum MenuType | type, |
struct ConfigSubset * | sub | ||
) |
Create a new Menu Window.
type | Menu type, e.g. MENU_PAGER |
sub | Config items |
ptr | New MuttWindow wrapping a Menu |
Definition at line 140 of file window.c.