class parent to implement inheritance. Class name must be different. Creation parameters should be the same or repace the parents creation function. Native type should be the same. Child type should be a more restrictive or equal type (many->one->none). Attribute functions will have only one common table. All methods can be changed, set to NULL, switched, etc.
Method that creates the element and process the creation parameters.
Called only from IupCreate.
The parameters can be NULL for all the controls.
The control should also depend on attributes set before IupMap.
Must return IUP_NOERROR or IUP_ERROR.
Can be NULL, like all methods.
Method that unmap (destroy) the control from the native system.
Called only from IupDestroy if the control is mapped.
Must return IUP_NOERROR or IUP_ERROR.
Method that computes the natural size.
Should update expand and call the same method for each children.
Does not depends on the element to be mapped. First call done at iupLayoutComputeDialog for the dialog.
Method that calculates and updates the current size based on the given size.
shrink is the dialog attribute passed here for optimization.
Does not depends on the element to be mapped. Called only from iupLayoutComputeDialog and itself on each child.
Method that calculates and updates the position relative to the parent.
Does not depends on the element to be mapped. Called only from iupLayoutComputeDialog and itself on each child.
Method that shows a popup dialog. Called only for native pre-defined dialogs.
The element is not mapped.
Must return IUP_ERROR or IUP_NOERROR.
Called only from iupDialogPopup.