IupCreate

IUP - Portable User Interface

IupCreate

Creates an interface element given its class name and parameters. This function is called from all constructors like IupDialog(...), IupLabel(...), and so on.

After creation the element still needs to be attached to a container and mapped to the native system so it can be visible.

Parameters/Return

Ihandle* IupCreate(const char *name); [in C]
Ihandle* IupCreatev(const char *name, void **params)
Ihandle *IupCreatep(const char *name, void* params0, ...)
[Not available in Lua]

name: class name of the element to be created
params: list of parameters limited by a NULL.

See Also

IupAppend, IupDetach, IupMap, IupUnmap, IupDestroy, IupGetClassName