VkMsgComponent(3x) VkMsgComponent(3x)
VkMsgComponent - Abstract base class for all ViewKit message components
VkComponent : VkCallbackObject
#include <Vk/VkMsgComponent.h>
PUBLIC PROTOCOL SUMMARY
Constructor/Destructor
VkMsgComponent(const char* name);
virtual void ~VkMsgComponent(void);
Message Facility Access [Toc] [Back]
VkMsgClient* messageClient(void);
void updatePatterns(void);
VkMsgPattern addAction(char* name,
VkMsgClientAction proc,
void *client_data,
VkMsgActionType type,
Boolean deleteMessage = True);
VkMsgPattern createAction(char* name,
VkMsgClientAction proc,
void *client_data,
VkMsgActionType type,
Boolean deleteMessage = True);
void removeAction(VkMsgPattern pat);
void addTranslation(char* name,
VkMsgClientAction proc,
void *client_data,
Boolean deleteMessage = True);
void removeTranslation(char* name);
VkMsgStatus registerPattern(VkMsgPattern pat);
VkMsgStatus unregisterPattern(VkMsgPattern pat);
VkMsgStatus destroyPattern(VkMsgPattern pat);
Page 1
VkMsgComponent(3x) VkMsgComponent(3x)
VkMsgComponent is a subclass of VkComponent which creates a
VkMsgClient object. Components which handle messages (e.g. an
editor component that sends and receives its own messages) should be
subclasses of VkMsgComponent. There are convenience methods for
accessing VkMsgClient methods.
The same guidelines for deriving from VkComponent apply to
VkMsgComponent subclasses.
FUNCTION DESCRIPTIONS [Toc] [Back] VkMsgComponent()
VkMsgComponent(const char* name);
virtual void ~VkMsgComponent(void);
Same as VkComponent constructor
messageClient()
VkMsgClient* messageClient(void);
Returns a pointer to the VkMsgClient object for access to message
facility functionality. See the VkMsgClient man page for more
details.
Message Routines [Toc] [Back]
void updatePatterns(void);
VkMsgPattern addAction(char* name,
VkMsgClientAction proc,
void *client_data,
VkMsgActionType type,
Boolean deleteMessage = True);
VkMsgPattern createAction(char* name,
VkMsgClientAction proc,
void *client_data,
VkMsgActionType type,
Boolean deleteMessage = True);
void removeAction(VkMsgPattern pat);
void addTranslation(char* name,
VkMsgClientAction proc,
void *client_data,
Boolean deleteMessage = True);
Page 2
VkMsgComponent(3x) VkMsgComponent(3x)
void removeTranslation(char* name);
VkMsgStatus registerPattern(VkMsgPattern pat);
VkMsgStatus unregisterPattern(VkMsgPattern pat);
VkMsgStatus destroyPattern(VkMsgPattern pat);
Convenience routines for accessing VkMsgClient methods. See the
VkMsgClient man page for more details.
INHERITED MEMBER FUNCTIONS [Toc] [Back] Inherited from VkComponent
installDestroyHandler(), removeDestroyHandler(), widgetDestroyed(),
setDefaultResources(), getResources(), manage(), unmanage(),
baseWidget(), okToQuit(), _name, _baseWidget, _w, deleteCallback
Inherited from VkCallbackObject [Toc] [Back]
callCallbacks(), addCallback(), removeCallback(),
removeAllCallbacks()
CLASSES USED BY THIS CLASS
VkMsgClient, VkMsgService
VkComponent, VkMsgClient, VkMsgComponent, VkMsgService
ViewKit Programmer's Guide
The X Window System, DEC Press, Bob Sheifler and Jim Gettys
The X Window System Toolkit, DEC Press, Paul Asente and Ralph Swick
The OSF/Motif Programmers Reference, Prentice Hall, OSF
PPPPaaaaggggeeee 3333 [ Back ]
|