| Callback Type | Description |
|---|---|
| select_point_callback | Called when a point is selected with the PointSelect action. |
| add_point_callback | Called when a point is added with the PointInsert action. |
| delete_point_callback | Called when a point is added with the PointDelete or DeleteLastPoint actions. |
| move_point_callback | Called when a point is moved with the PointEndMove action. |
| select_horizon_callback | Called when a horizon is selected with the PointSelect action or with the XintPickingRecordSetCurrentHorizon function. |
| add_horizon_callback | Called when a horizon is created with the HorizonCreate action. |
| delete_horizon_callback | Called when a horizon is deleted with the HorizonDelete action. |
| move_horizon_callback | Called when a horizon is moved with the HorizonEndMove action. |
| snap_callback | Called when a point is created via the PointInsert action or the XintPointCreate function if the snap mode is not XintNO_SNAP. |
| tracker_callback | Called when the automatic tracker is activated via the AutoPick action. |
| Data Type | Arg Name | Description |
|---|---|---|
| Widget | widget | Widget where the point action has occurred. |
| XtPointer | callback_data | Address of the application defined data structure passed to the callback procedure. |
| XintPoint * | point | Pointer to the Point structure of the point of interest. |
| Boolean * | doit | (Defined for delete_point_callback and move_point_callback only) specifies whether the action routine should perform the action on the point. |
The doit flag will be set to True by the move point or delete point action routine before it calls the corresponding callback procedure. If the callback procedure decides that the move or delete action should not be performed on the point, then the callback procedure should set the doit flag to False before returning to the action routine. When the action routine checks the value of doit, if its value is False then the point will not be moved or deleted.
| Data Type | Arg Name | Description |
|---|---|---|
| Widget | widget | Widget where the horizon action has occurred. |
| XtPointer | callback_data | Address of the application defined data structure passed to the callback procedure. |
| XintHorizon * | horizon | Pointer to the Horizon structure of the horizon of interest. |
| Boolean * | doit | (Defined for delete_horizon_callback and move_horizon_callack only) specifies whether the action routine should perform the action on the horizon. |