Docs » Autodocs » checkbox_gc » CHECKBOX_GetClass
CHECKBOX_GetClass -- Gets the pointer to the checkbox class.
checkbox_class = CHECKBOX_GetClass();
Class * CHECKBOX_GetClass(VOID);
This function is only available in runtime linked version of the
class, checkbox.gadget and is not in the compiler linker library
Obtains the pointer to the CheckBox gadget class for use with
NewObject(). This function always returns a valid pointer so
you do not need to check it. The reason is that if the library
opens fine, then the pointer returned is already setup. (Of course
this implies that if opening the library fails, you shouldn't be
Note that this function does not create the class, that is done
when the class library is opened.
checkbox_class - Pointer to the CheckBox gadget class.