Marker Object Class

Defined Callbacks

The Marker 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 XintMarkerVerifyCallbackStruct.

Data TypeMemberDescription
intreasonIndicates why the callback was invoked.
XEvent *eventPoints to the XEvent that triggered the callback.
BooleandoitSet to False to cancel the operation on the Marker object.
floatnew_depthProposed depth.
floatold_depthCurrent depth.


Defined Functions

The following functions are defined for creating and manipulating a Marker object.

XintCreateMarker

XintCreateMarker creates a Marker object.

     Object XintCreateMarker (...)

Data TypeArg NameDescription
WidgetparentParent of new Marker object.
char *nameName of new Marker object.
ArgListarglistList of resource/value items.
CardinalargcountNumber of items in arglist.


Macros

Macro XintIsMarker returns True if the specified object is a Marker object.

     Boolean XintIsMarker (Object object)