WellLog Widget Class


Constraint Resources

The following constraint resources are defined by the WellLog widget class.

NameTypeDefaultAccess
XmNgridWidgetWidgetNULLCSG
XmNpercentEndint100CSG
XmNpercentStartint0CSG
XmNplacementintXintPLACEMENT_TOPCSG
XmNpositionint0CSG


XmNgridWidget

Specifies the ID of a Track widget that an Axis or ScrollBar widget is to be placed around. If this resource is not specified, the widget ID of the last Track widget created as a child of the WellLog widget will be used as the value of this resource.

XmNpercentEnd

Specifies the ending position, as a percentage of the total length of a Track, Axis or ScrollBar widget. Multiple axes and scrollbars may occupy the same line in a particular placement direction if the order in which they were created and the XmNpercentStart and XmNpercentEnd resources do not overlap. Axes and scrollbars that would overlap are inserted in the next slot in the placement direction.

XmNpercentStart

Specifies the starting position, as a percentage of the total length of a Track, Axis or ScrollBar widget. Multiple axes and scrollbars may occupy the same line in a particular placement direction if the order in which they were created and the XmNpercentStart and XmNpercentEnd resources do not overlap. Axes and scrollbars that would overlap are inserted in the next slot in the placement direction.

XmNplacement

Specifies the placement of an Axis or ScrollBar child around the (Track) widget specified as the value of the constraint resource, XmNgridWidget. Possible values are:

Resource ValueDescription
XintPLACEMENT_TOP (default)Child is positioned above the Track.
XintPLACEMENT_BOTTOMChild is positioned under the Track.
XintPLACEMENT_LEFTChild is positioned left of the Track.
XintPLACEMENT_RIGHTChild is positioned right of the Track.


XmNposition

Specifies the order of insertion if the child is a Track widget. Specify 0 to have the Track widget appended at the end of the list. Specify 1, to have the Track widget inserted at the beginning of the list. This resource only takes into account Track widgets. Other widgets, such as Axis and ScrollBar widgets, are moved along with the Track widget with which they are associated.