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

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

Contents


VkMenuActionObject(3x)					VkMenuActionObject(3x)


NAME    [Toc]    [Back]

     VkMenuActionObject	- Support for menu commands represented	as objects

INHERITS FROM    [Toc]    [Back]

     VkMenuAction : VkMenuItem : VkComponent : VkCallbackObject

HEADER FILE    [Toc]    [Back]

     #include <Vk/VkMenuItem.h>


PUBLIC PROTOCOL	SUMMARY
   Constructor/Destructor
	   VkMenuActionObject(const char *name,
			      XtPointer	clientData = NULL);
	   ~VkMenuActionObject();


   Access Functions    [Toc]    [Back]
	   virtual const char* className();
	   virtual VkMenuItemType menuType();

CLASS DESCRIPTION    [Toc]    [Back]

     This class	supports applications that wish	to model menu commands as
     objects. To use this abstract class, the application must derive a	new
     class and override	the doit() and undoit()	member functions. Instances of
     the derived can be	added to a menu	using the add()	method supported by
     all VkMenu	subclasses.

   Deriving Subclasses    [Toc]    [Back]
     All derived classes must define the pure virtual methods doit() and
     undoit(). The derived classes should also use any additional class	data
     members required to maintain state	to allow the undoit() function to
     reverse the effects of the	doit function. See VkMenuUndoManager(3X) for
     more info.

FUNCTION DESCRIPTIONS    [Toc]    [Back]

   VkMenuActionObject
	   VkMenuActionObject(const char *name,	XtPointer clientData = NULL);


	  Initialize a VkMenuActionObject. Copies any given clientData
	  argument to the _clientData data member.

   ~VkMenuActionObject
	   ~VkMenuActionObject();


	  Empty	function.






									Page 1






VkMenuActionObject(3x)					VkMenuActionObject(3x)



   className
	   virtual const char* className();


	  Returns "VkMenuActionObject".

   menuType
	   virtual VkMenuItemType menuType();


	  Returns VkMenuItem::OBJECT.

INHERITED MEMBER FUNCTIONS    [Toc]    [Back]

   Inherited from VkMenuAction
	  undo(), hasUndo(), _undoCallback, _func, _data


   Inherited from VkMenuItem    [Toc]    [Back]
	  show(), hide(), manageAll(), setLabel(), setPosition(), activate(),
	  deactivate(),	remove(), show(), isContainer(), _position, _isBuilt,
	  _sensitive, _parentMenu, _label, _isHidden, _unmanagedWidgets,
	  _numUnmanagedWidgets


   Inherited from VkComponent    [Toc]    [Back]
	  installDestroyHandler(), removeDestroyHandler(), widgetDestroyed(),
	  setDefaultResources(), getResources(), manage(), unmanage(),
	  baseWidget(),	okToQuit(), _name, _baseWidget,	_w, deleteCallback


   Inherited from VkCallbackObject    [Toc]    [Back]
	  callCallbacks(), addCallback(), removeCallback(),
	  removeAllCallbacks()

SEE ALSO    [Toc]    [Back]

      
      
     VkMenuAction, VkMenuItem, VkComponent, VkMenuActionObject,	VkAction
     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 2222
[ Back ]
 Similar pages
Name OS Title
VkMenu IRIX Abstract base class for all ViewKit menu container objects
menubar IRIX Obsolete support for menu bars
exponent IRIX Returns the exponent part of the argument when represented as a numeric model number
VkOptionMenu IRIX An option menu for use with ViewKit menu items
intro IRIX introduction to commands, application programs, and programming commands.
perlobj OpenBSD Perl objects
perlobj IRIX Perl objects
nisrm HP-UX remove NIS+ objects from the namespace
DH_new Tru64 Allocate and free DH objects
DSA_free Tru64 Allocate and free DSA objects
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service