VkMenuAction man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



VkMenuAction(3x)					      VkMenuAction(3x)

NAME
     VkMenuAction - Class For all menu actions

INHERITS FROM
     VkMenuItem : VkComponent : VkCallbackObject

HEADER FILE
     #include <Vk/VkMenuItem.h>

PUBLIC PROTOCOL SUMMARY
   Constructor/Destructor
	   VkMenuAction(const char     *name,
			XtCallbackProc	callback = NULL,
			XtPointer	clientData = NULL);
	   VkMenuAction(const char     *name,
			XtCallbackProc	callback,
			XtCallbackProc	undoCallback,
			XtPointer	clientData = NULL);
	   ~VkMenuAction();

   Manipulating Menu Items
	   virtual void undo();

   Access Functions
	   virtual const char* className();
	   virtual VkMenuItemType menuType();
	   Boolean hasUndo()

CLASS DESCRIPTION
     The VkMenuAction class represents a user-selectable command in a menu.
     Objects of type VkMenuAction can be placed in any VkMenu subclass. The
     VkMenuAction adds an XmPushButton widget into its parent menu pane. Like
     all VkMenuItems, VkMenuAction objects can be activated, deactivated,
     replaced, and so on.

     If an action has an undo callback, the object automatically registers
     itself with an instance of the VkUndoManager class when the action is
     executed. An undo callback can be specified when the object is
     instantiated.

FUNCTION DESCRIPTIONS
   VkMenuAction
	   VkMenuAction(const char     *name,
			XtCallbackProc	callback = NULL,
			XtPointer	clientData = NULL);
	   VkMenuAction(const char     *name,
			XtCallbackProc	callback,
			XtCallbackProc	undoCallback,

									Page 1

VkMenuAction(3x)					      VkMenuAction(3x)

			XtPointer	clientData = NULL);

   ~VkMenuAction
	   ~VkMenuAction();

	  Construct a VkMenuAction object. No widgets are built in the
	  constructor.

   undo
	   virtual void undo();

	  Undo the action associated with this menu item. This function is
	  normally called by an instance of VkUndoManager. It invokes any undo
	  callback specified for this item.

   className
	   virtual const char* className();

	  The class name of this class is "VkMenuAction".

   menuType
	   virtual VkMenuItemType menuType();

	  Returns an enumeration that identifies the type of this menu object.
	  The type of VkMenuAction is ACTION.

   hasUndo()
	   Boolean hasUndo()

EXAMPLES
     See VkMenu.

INHERITED MEMBER FUNCTIONS
   Inherited from VkMenuItem
	  show(), hide(), manageAll(), ~VkMenuItem(), setLabel(),
	  setPosition(), activate(), deactivate(), remove(), show(),
	  isContainer(), _position, _isBuilt, _sensitive, _parentMenu, _label,
	  _isHidden, _unmanagedWidgets, _numUnmanagedWidgets,

									Page 2

VkMenuAction(3x)					      VkMenuAction(3x)

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

   Inherited from VkCallbackObject
	  callCallbacks(), addCallback(), removeCallback(),
	  removeAllCallbacks()

KNOWN DERIVED CLASSES
     VkMenuConfirmFirstAction, VkMenuActionObject, VkMenuActionWidget,
     VkMenuToggle, VkMenuUndoManager

KNOWN CLASSES THAT USE THIS CLASS
     VkMenu, VkMenuUndoManager

SEE ALSO
     VkMenuItem, VkComponent, VkMenu, VkMenuAction, VkMenuUndoManager
     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

									Page 3

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net