how to determine the "class" of a given gadget

BlitzMax Forums/BlitzMax Beginners Area/how to determine the "class" of a given gadget

Hello!

How do I determine the "class" of a given gadget ("gadgetclass", to use a term used by the maxgui_driver)? There is a list of constants in gadget.bmx, but there does not seem to be any field within a gadget which could be used to find out, what kind of gadget a given one is.

Does anybody have any idea?