This utility function takes two rectangle slices and "aligns" them by the first point of interest (for a vertical slice, the baseline). It takes the first slice as a reference, and modifies it such that it's height can accommodate the aligned slices.
This function does NOT touch frame, inset and outset values! They might be invalid once the function has returned.
A utility function that, given a platform display variable (a control, dialog, widget, etc.) will return the top-level window that contains it. The implementation is platform-specific.
Used to report an error through the ui_core_error_handler proc
Use this to specify the callback used in the case when a UI element returns an error of some kind. Note that this is only a service provided to the mac community because clients are unable to throw across the event loop. Our typical error handling strategy should be throw/catch, but the Mac is limited in this regard so we provide this alternative.
A utility function for the widgets that allows them to have cells within the layout sheet that are "unlikely" to be trampled on by other widgets. This is accomplished by returning a unique cell name to be used by a widget. The unique name is incremented and prepended with a builtin zuid to prevent collisions with other cell names.