IupGetClassName

IUP - Portable User Interface

IupGetClassName (renamed from IupGetType in 3.0)

Returns the name of the class of an interface element.

Parameters/Return

char* IupGetClassName(Ihandle* ih); [in C]
iup.GetClassName(ih: ihandle) -> (name: string) [in Lua]

ih: Identifier of the interface element.

Notes

The following names are known:

"image"
"button"
"canvas"
"dialog"
"fill"
"frame" 
"hbox"
"item"
"separator"
"submenu"
"label"
"list"
"menu"
"radio"
"text" 
"toggle"
"vbox"
"zbox"
"multiline"
"user"
"matrix"
"tree"
"dial"
"gauge"
"val"
"glcanvas"
"tabs"
"cells"
"colorbrowser"
"colorbar"
"spin"
"sbox"
"cbox"