Name

e_menu_target_new —

Synopsis

void * e_menu_target_new (ep,  
 type,  
 size); 
EMenu *  ep;
int  type;
size_t  size;

Arguments

ep

An EMenu to which this target applies.

type

Target type, up to implementation.

size

Size of memory to allocate. Must be >= sizeof(EMenuTarget).

Description

Allocate a new menu target suitable for this class. size is used to specify the actual target size, which may vary depending on the implementing class.