Example X-Designer Replay Convertor Functions

Example X-Designer Replay Convertor Functions


xdsGetXmListEntries() - returns the element in the list; this is a simple routine that fetches the elements of an XmList.

XmListYToPos() - a Motif convenience function which takes the y-coordinate of the event and returns its position in the list.

xdsXmStringToString() - converts an XmString to a String.

XmListPosToBounds() - a Motif convenience function which gives the window bounding-box of a particular item in the list. This can be used to work out likely (x,y) coordinates for a click on that element.