IupGetClassType

IUP - Portable User Interface

IupGetClassType (Since 3.0)

Returns the name of the native type of an interface element.

Parameters/Return

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

ih: Identifier of the interface element.

Notes

There are only a few pre-defined class types:

"void" - No native representation - HBOX, VBOX, ZBOX, FILL, RADIO
"control" - Native controls - BUTTON, LABEL, TOGGLE, LIST, TEXT, MULTILINE, ITEM, SEPARATOR, SUBMENU, FRAME, others
"canvas" - Drawing canvas, also used as a base control for custom controls.
"dialog"
"image"
"menu"