Lithology Object Class


Defined Callbacks

The Lithology object class does not define any new callbacks. However, the callback structure returned with callback XmNverifyCallback (see class Graphic) is redefined. The following ordered table lists the members of the callback structure XintLithologyVerifyCallbackStruct.

Data TypeMemberDescription
intreasonIndicates why the callback was invoked.
XEvent *eventPoints to the XEvent that triggered the callback.
BooleandoitIf set to False, cancels the operation on the Lithology object.
floatold_start_depthCurrent starting depth.
floatold_end_depthCurrent ending depth.
floatnew_start_depthProposed starting depth.
floatnew_end_depthProposed ending depth.


Defined Functions

The following function is defined for creating a Lithology object.

XintCreateLithology

XintCreateLithology creates a Lithology object. Note: Lithology objects don't need to be managed.

     Object XintCreateLithology (...)

Widgetparent Parent of new Lithology object.
char *nameName of new Lithology object.
ArgListarglistList of resource/value items.
CardinalargcountNumber of items in arglist.


Macros

Macro XintIsLithology returns True if the specified object is a Lithology object.

     Boolean XintIsLithology (Object object)