Shared code for the Alias and Query Dialogs. More...
Go to the source code of this file.
Data Structures | |
struct | AliasView |
GUI data wrapping an Alias. More... | |
struct | AliasMenuData |
AliasView array wrapper with Pattern information -. More... | |
Functions | |
ARRAY_HEAD (AliasViewArray, struct AliasView) | |
int | alias_config_observer (struct NotifyCallback *nc) |
Notification that a Config Variable has changed - Implements observer_t -. | |
int | alias_array_alias_add (struct AliasViewArray *ava, struct Alias *alias) |
Add an Alias to the AliasViewArray. | |
int | alias_array_alias_delete (struct AliasViewArray *ava, const struct Alias *alias) |
Delete an Alias from the AliasViewArray. | |
int | alias_array_count_visible (struct AliasViewArray *ava) |
Count number of visible Aliases. | |
void | alias_set_title (struct MuttWindow *sbar, char *menu_name, char *limit) |
Create a title string for the Menu. | |
int | alias_recalc (struct MuttWindow *win) |
Recalculate the display of the Alias Window - Implements MuttWindow::recalc() -. | |
Shared code for the Alias and Query Dialogs.
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 gui.h.
ARRAY_HEAD | ( | AliasViewArray | , |
struct AliasView | |||
) |
int alias_array_alias_add | ( | struct AliasViewArray * | ava, |
struct Alias * | alias | ||
) |
Add an Alias to the AliasViewArray.
ava | Array of Aliases |
alias | Alias to add |
num | Size of array |
-1 | Error |
Definition at line 47 of file array.c.
int alias_array_alias_delete | ( | struct AliasViewArray * | ava, |
const struct Alias * | alias | ||
) |
Delete an Alias from the AliasViewArray.
ava | Array of Aliases |
alias | Alias to remove |
num | Size of array |
-1 | Error |
Definition at line 73 of file array.c.
int alias_array_count_visible | ( | struct AliasViewArray * | ava | ) |
Count number of visible Aliases.
ava | Array of Aliases |
Definition at line 95 of file array.c.
void alias_set_title | ( | struct MuttWindow * | sbar, |
char * | menu_name, | ||
char * | limit | ||
) |
Create a title string for the Menu.
sbar | Simple Bar Window |
menu_name | Menu name |
limit | Limit being applied |
Definition at line 72 of file gui.c.