class CObject


#include <Xarm/CObject.h>

Hierarchy


Convenience Routines

addCallback
addEventHandler
addInput
addProtocolCallback
addWMProtocolCallback
addTimeOut
addWorkProc
removeCallback
removeAllCallbacks
removeCallback
removeEventHandler
removeInput
removeProtocolCallback
removeWMProtocolCallback
removeTimeOut
removeWorkProc

Typedefs


/* Typedef's for member function callbacks */
typedef void (CObject::*p_msg)(Widget, XtPointer, XtPointer);
typedef void (CObject::*p_event_msg)(Widget, XtPointer, XEvent *, Boolean *);
typedef void (CObject::*p_input_msg)(XtPointer, int*, XtInputId*);
typedef void (CObject::*p_timer_msg)(XtPointer, XtIntervalId *);
typedef Boolean (CObject::*p_work_msg)(XtPointer);


Member Functions

void addCallback(Widget, _XtString, p_msg, XtPointer=NULL);

This routine adds the specified member function to the widgets callback list.

void addEventHandler(Widget, EventMask, _XtBoolean, p_event_msg, XtPointer=NULL);

This routine registers a member function with the dispatch mechanism to be called when an event that matches the mask occurs on the specified widget.

XtInputId addInput(XtAppContext, int, XtPointer, p_input_msg, XtPointer=NULL);

void addProtocolCallback(Widget,Atom,Atom,p_msg,XtPointer=NULL);

void addWMProtocolCallback(Widget,Atom,p_msg,XtPointer=NULL);

XtIntervalId addTimeOut(XtAppContext,unsigned long,p_timer_msg,XtPointer=NULL);

XtWorkProcId addWorkProc(XtAppContext,p_work_msg,XtPointer=NULL);

void removeCallback(Widget, _XtString, p_msg, XtPointer=NULL);

This routine removes the specified member function to the widgets callback list.

void removeEventHandler(Widget, EventMask, _XtBoolean, p_event_msg, XtPointer=NULL);

This routine stops the specified member function from receiving the specified events.

void removeInput(XtInputId);

void removeProtocolCallback(Widget,Atom,Atom,p_msg,XtPointer=NULL);

void removeWMProtocolCallback(Widget,Atom,p_msg,XtPointer=NULL);

void removeTimeOut(XtIntervalId );

void removeWorkProc(XtWorkProcId);