[comp.windows.x.motif] Inconsistency accessing composite widget children in Motif

montnaro@spyder.crd.ge.com (Skip Montanaro) (05/28/91)

In the Motif widgets there are two methods for accessing the children of
composite widgets, 1) by getting the value of a resource, and 2) by making a
call to a special function. An example of the first is getting the
horizontal scroll bar of an XmScrolledWindow widget by accessing the
horizontalScrollBar resource. An example of the second is getting the file
list widget of an XmFileSelectionBox widget by calling
XmFileSelectionBoxGetChild().

Is there a rational reason for having two entirely different methods to get
child widget ids? Are there plans to rectify this anomaly in future versions
of the widget set, either by discarding one method (preferably the special
function) or embellishing all widgets to allow either method of access?

--
Skip (montanaro@crdgw1.ge.com)