There are three resources associated with the Card widget:
Both of the spacing resources are of type XmRInt and refer to the spacing around the Card, between its own border and those of any children.
Each child of a Card widget has a constraint resource, pageNumber, which allows you to assign a page number to the child widget. The Card widget resource XdNcurrentPageNumber holds the pageNumber of the child which is currently visible.
The card number resource can be set directly for the Card, although the widget does define a convenience function called XdCardShowPage(Widget card, int page) which can be used in application code for the same purpose. Page numbering can start on any number.
See also: