Pattern Selection Dialog. More...
#include "config.h"
#include <stdbool.h>
#include <stddef.h>
#include "private.h"
#include "mutt/lib.h"
#include "config/lib.h"
#include "core/lib.h"
#include "gui/lib.h"
#include "lib.h"
#include "expando/lib.h"
#include "key/lib.h"
#include "menu/lib.h"
#include "functions.h"
#include "mutt_logging.h"
Go to the source code of this file.
Functions | |
void | pattern_d (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Pattern: pattern description - Implements ExpandoRenderData::get_string() -. | |
void | pattern_e (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Pattern: pattern expression - Implements ExpandoRenderData::get_string() -. | |
long | pattern_n_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Pattern: Index number - Implements ExpandoRenderData::get_number() -. | |
static int | pattern_make_entry (struct Menu *menu, int line, int max_cols, struct Buffer *buf) |
Create a Pattern for the Menu - Implements Menu::make_entry() -. | |
static void | free_pattern_menu (struct Menu *menu, void **ptr) |
Free the Pattern Completion menu - Implements Menu::mdata_free() -. | |
static struct Menu * | create_pattern_menu (struct MuttWindow *dlg) |
Create the Pattern Completion menu. | |
static int | pattern_config_observer (struct NotifyCallback *nc) |
Notification that a Config Variable has changed - Implements observer_t -. | |
static int | pattern_window_observer (struct NotifyCallback *nc) |
Notification that a Window has changed - Implements observer_t -. | |
bool | dlg_pattern (char *buf, size_t buflen) |
Show menu to select a Pattern -. | |
Variables | |
const struct ExpandoRenderData | PatternRenderData [] |
Callbacks for Pattern Expandos. | |
static const struct Mapping | PatternHelp [] |
Help Bar for the Pattern selection dialog. | |
Pattern Selection 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 dlg_pattern.c.
|
static |
Create the Pattern Completion menu.
dlg | Dialog holding the Menu |
ptr | New Menu |
Definition at line 174 of file dlg_pattern.c.
const struct ExpandoRenderData PatternRenderData |
Callbacks for Pattern Expandos.
Definition at line 85 of file dlg_pattern.c.