Simple Dialog. More...
#include "config.h"
#include <stdbool.h>
#include "mutt/lib.h"
#include "config/lib.h"
#include "core/lib.h"
#include "simple.h"
#include "menu/lib.h"
#include "dialog.h"
#include "mutt_window.h"
#include "sbar.h"
Go to the source code of this file.
Functions | |
static int | simple_config_observer (struct NotifyCallback *nc) |
Notification that a Config Variable has changed - Implements observer_t -. | |
static int | simple_window_observer (struct NotifyCallback *nc) |
Notification that a Window has changed - Implements observer_t -. | |
struct SimpleDialogWindows | simple_dialog_new (enum MenuType mtype, enum WindowType wtype, const struct Mapping *help_data) |
Create a simple index Dialog. | |
void | simple_dialog_free (struct MuttWindow **ptr) |
Destroy a simple index Dialog. | |
Simple Dialog.
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 simple.c.
struct SimpleDialogWindows simple_dialog_new | ( | enum MenuType | mtype, |
enum WindowType | wtype, | ||
const struct Mapping * | help_data | ||
) |
Create a simple index Dialog.
mtype | Menu type, e.g. MENU_ALIAS |
wtype | Dialog type, e.g. WT_DLG_ALIAS |
help_data | Data for the Help Bar |
obj | SimpleDialogWindows Tuple containing Dialog, SimpleBar and Menu pointers |
Definition at line 132 of file simple.c.
void simple_dialog_free | ( | struct MuttWindow ** | ptr | ) |
Destroy a simple index Dialog.
ptr | Dialog Window to destroy |
Definition at line 168 of file simple.c.