These convenience functions simplify the specification of certain classes of form constraints. They provide a way of attaching a component to one edge of another component. They are used when constructing the resource list for a widget. This behavior is accomplished using the ATTACH_WIDGET constraint.
Usage:
DtkshUnder widgetId [offset] DtkshOver widgetId [offset] DtkshRightOf widgetId [offset] DtkshLeftOf widgetId [offset]
The widgetId parameter specifies the widget to which the current component is to be attached. The offset value is optional and defaults to 0 if not specified.
Example:
XtCreateManagedWidget BUTTON4 button4 XmPushButton $FORM \
labelString:"Exit" \
$(DtkshUnder $BUTTON2) \
$(DtkshRightOf $BUTTON3)