IUP_TYPENAME

IUP - Portable User Interface

IupGetType

Verifies the name of the type of an interface element.

Parameters/Return

char* IupGetType(Ihandle* elem); [in C]
IupGetType(elem: ihandle) -> (name: string) [in IupLua3]
iup.GetType(elem: ihandle) -> (name: string) [in IupLua5]

elem: Identifier of the interface element.

This function returns the name of the type of an interface element.

Notes

The following names are predefined:

"unknown"
"color"
"image"
"button"
"canvas"
"dialog"
"fill"
"frame" 
"hbox"
"item"
"separator"
"submenu"
"label"
"list"
"menu"
"radio"
"text" 
"toggle"
"vbox"
"zbox"
"multiline"
"user"