Usage:menu(M)
Like menu(M,true).
Usage:menu(M,Bool)
Like menu/4 with no selected options, taking the menu level from the term M (example: ana(1) is expert, ana is naive), and using Bool to decide whether print help message or not.
Usage:menu(M,Level,Bool,AlreadySelectedOpts)
Execute the menu X. Level specifies the menu level. Bool decides whether print the help message. AlreadySelectedOpts is a list with the selected options.
Usage:exists_menu_flag(M,F)
The flag F in the menu (-branch) M has a default value.
Usage:get_menu_flag(M,F,V)
Returns the value in V of the flag F in the menu (-branch) M.
Usage:set_menu_flag(M,F,V)
Set the value V of the flag F in the menu (-branch) M.
Usage:space(N)
prints N spaces.
Usage:get_menu_configs(X)
Returns a list of atoms in X with the name of stored configurations.
Usage:save_menu_config(Name)
Save the current flags configuration under the Name key.
Usage:remove_menu_config(Name)
Remove the configuration stored with the Name key (the same provided in save_menu_config/1).
Usage:restore_menu_config(Name)
Restore the configuration saved with the Name key (the same provided in save_menu_config/1).
Usage:
Show all stored configurations.
Usage:show_menu_config(C)
Show specific configuration values pointed by C key (the same provided in save_menu_config/1).
Usage:get_menu_flags(L)
Return a list L of all current menu flags, composed by terms with the form (M,F,V), where M is the menu, F the flag, and V the value. This list can be used as argument of restore_flags_list/1
Usage:restore_menu_flags_list(L)
Restores menu flags. L is a list of tuple (M,F,V) where M is the menu, F is the flag, and V is the value of the flag F in the menu M.
Usage:get_menu_flags(M,L)
Return a list L of the current menu M composed by terms with the form (F=V), F the flag, and V the value. This list can be used as argument of restore_menu_flags/2
Usage:restore_menu_flags(M,F)
Restore the flag of the menu M. F is a list of terms F=V, which indicate the flag (F) and the value (V). M is the target menu to which those flags "belong". Additionally, F can contains terms like changed_to_menu(NM) that will put NM as the new target menu.
Usage:generate_offline_menu(EntryMenu,MenuItems)
Generate an offline menu MenuItems for the given EntryMenu
Usage:eq(Type,A,B)
Type is the value returned by the 2nd arg of uni_type. A and B are whatever terms. This predicate success if they are equal (like A=B).
Usage:neq(Type,A,B)
Type is the value returned by the 2nd arg of uni_type. A and B are whatever terms. The semantic is similar to A == B.
Usage:menu_flag_values(X)
Flag values