(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/gadtools.h>
#include <intuition/intuition.h>
#include <libraries/gadtools.h>
#include <utility/tagitem.h>

struct Menu * CreateMenusA (newmenu , tagList)

LOCATION
In GadToolsBase at offset 8

SYNOPSIS
struct NewMenu * newmenu
struct TagItem * tagList

FUNCTION
CreateMenusA() creates a complete menu or parts of a menu.

INPUTS
newmenu
pointer to struct NewMenu
taglist
additional tags

RESULT
A pointer to a menu structure.

EXAMPLE

SEE ALSO
FreeMenus(), LayoutMenusA()

NOTES
CreateMenusA() stores no position information in the menu structure. You need to call LayoutMenusA() to retrieve them. The strings supplied for the menu are not copied into a private buffer. Therefore they must be preserved, until FreeMenus() was called.

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
04.04.1997 ldp
Gadtools -> GadTools
25.03.1997 srittau
Initial revision