Private Menu functions. More...
Go to the source code of this file.
Functions | |
void | menu_free (struct Menu **ptr) |
Free a Menu. | |
struct Menu * | menu_new (enum MenuType type, struct MuttWindow *win, struct ConfigSubset *sub) |
Create a new Menu. | |
void | menu_add_observers (struct Menu *menu) |
Add the notification observers. | |
Private Menu functions.
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 private.h.
void menu_free | ( | struct Menu ** | ptr | ) |
struct Menu * menu_new | ( | enum MenuType | type, |
struct MuttWindow * | win, | ||
struct ConfigSubset * | sub | ||
) |
Create a new Menu.
type | Menu type, e.g. MENU_ALIAS |
win | Parent Window |
sub | Config items |
ptr | New Menu |
Definition at line 136 of file menu.c.
void menu_add_observers | ( | struct Menu * | menu | ) |
Add the notification observers.
menu | Menu |
Definition at line 134 of file observer.c.