IupGetParent

Returns the parent of a control.

Parameters/Return

Ihandle* IupGetParent(Ihandle *ih); [in C]
iup.GetParent(ih: ihandle) -> parent: ihandle [in Lua]

ih: identifier of the interface element.

Returns: the handle of the parent or NULL if does not have a parent.

See Also

IupGetChild, IupGetNextChild, IupGetBrother