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... | |
Enumerations | |
enum | ExpandoDataAlias { ED_ALI_ADDRESS = 1 , ED_ALI_COMMENT , ED_ALI_FLAGS , ED_ALI_NAME , ED_ALI_NUMBER , ED_ALI_TAGGED , ED_ALI_TAGS } |
Expando UIDs for Aliases. 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.
enum ExpandoDataAlias |
Expando UIDs for Aliases.
Enumerator | |
---|---|
ED_ALI_ADDRESS | |
ED_ALI_COMMENT | |
ED_ALI_FLAGS | Alias.flags. |
ED_ALI_NAME | |
ED_ALI_NUMBER | |
ED_ALI_TAGGED | AliasView.tagged. |
ED_ALI_TAGS |
Definition at line 71 of 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 69 of file gui.c.