*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> Vk/VkMsgComponent (3)              
Title
Content
Arch
Section
 

Contents


VkMsgComponent(3x)					    VkMsgComponent(3x)


NAME    [Toc]    [Back]

     VkMsgComponent - Abstract base class for all ViewKit message components

INHERITS FROM    [Toc]    [Back]

     VkComponent :  VkCallbackObject

HEADER FILE    [Toc]    [Back]

     #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)


CLASS DESCRIPTION    [Toc]    [Back]

	  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.


DERIVING SUBCLASSES    [Toc]    [Back]

	  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

SEE ALSO    [Toc]    [Back]

      
      
     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 ]
 Similar pages
Name OS Title
VkComponent IRIX Abstract base class for all ViewKit components
VkMenuItem IRIX Abstract base class for all ViewKit menu classes
VkMenu IRIX Abstract base class for all ViewKit menu container objects
VkMsgClient IRIX ViewKit application interface to the ViewKit Message Facility
VkPrefItem IRIX Abstract class that supports preference items
VkGenericDialog IRIX An abstract class that supports custom dialog managers
VkDoubleBuffer IRIX Abstract class supports classes that draw doublebuffered graphics
VkCallbackObject IRIX An abstract class that supports classes that use C++ member function callbacks
VkDialogManager IRIX An abstract manager class that caches and supports Motif dialogs
VkApp IRIX Class used by all ViewKit applications to handle initialization
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service