XmQTmenuSavvy man page on IRIX

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



     XmQTmenuSavvy(3X)	       UNIX System V	     XmQTmenuSavvy(3X)

     NAME
	  XmQTmenuSavvy - A widget holding this trait can become a
	  menu child

     SYNOPSIS
	  #include <Xm/MenuT.h>

	  typedef struct {
		    int			     version;
		    XmMenuSavvyDisableProc	  disableCallback;
		    XmMenuSavvyGetAcceleratorProc      getAccelerator;
		    XmMenuSavvyGetMnemonicProc	       getMnemonic;
		    XmMenuSavvyGetActivateCBNameProc	    getActivateCBName;
	  } XmMenuSavvyTraitRec, *XmMenuSavvyTrait;
	  void (*XmMenuSavvyDisableProc)(
	  Widget,
	  XtActivateState,
	  char *(*XmMenuSavvyGetAcceleratorProc)(
	  Widget,
	  Keysym (*XmMenuSavvyGetMnemonicProc)(
	  Widget);
	  char *(*XmMenuSavvyGetActivateCBNameProc)(void)

     VERSION
	  This page documents Motif 2.1.

     DESCRIPTION
	  Menu parent widgets (like XmRowColumn) examine their
	  children for the XmQTmenuSavvy trait.	 Only those child
	  widgets holding the XmQTmenuSavvy trait can become menu
	  children.

	  The following standard Motif primitive widgets hold this
	  trait:

	     o	XmLabel

	     o	XmLabelGadget

	     o	XmPushButton

	     o	XmPushButtonGadget

	     o	XmSeparator

	     o	XmSeparatorGadget

	     o	XmToggleButton

	     o	XmToggleButtonGadget

	     o	XmCascadeButton

     Page 1					     (printed 7/20/06)

     XmQTmenuSavvy(3X)	       UNIX System V	     XmQTmenuSavvy(3X)

	     o	XmCascadeButtonGadget

	     o	XmDrawnButton

	  Among the standard Motif manager widgets, only
	  XmRowColumnexamines its children for this trait.

	The disableCallback Trait Method
	  void disableCallback(
	  Widget childWidget,
	  XtActivateState enable_disable);

	  The disableCallback trait method allows the menu parent
	  (typically, the XmRowColumn widget) to enable or disable the
	  activate callback associated with the child.
	  XmRowColumncalls this trait method when its XmNentryCallback
	  resource is set to a value other than NULL.

	  childWidget
		    Specifies the child widget that holds this trait.

	  enable_disable
		    Specifies whether to enable or disable the
		    activate callback method associated with the child
		    widget. There are two possible values for this
		    argument: XmENABLE_CALLBACK or XmDISABLE_CALLBACK.
		    XmENABLE_CALLBACK enables the activate callback
		    associated with childWidget; XmDISABLE_CALLBACK
		    disables it.

	The getAccelerator Trait Method
	  char *getAccelerator(
	  Widget childWidget);

	  The getAccelerator trait method returns the accelerator
	  associated with childWidget.

	  childWidget
		    Specifies a menu child widget.

	  This trait method returns the accelerator associated with
	  childWidget. If there is no accelerator associated with
	  childWidget, getAccelerator returns NULL.

	The getMnemonic Trait Method
	  Keysym getMnemonic(
	  Widget childWidget);

	  The getMnemonic trait method returns the mnemonic associated
	  with childWidget.

	  childWidget

     Page 2					     (printed 7/20/06)

     XmQTmenuSavvy(3X)	       UNIX System V	     XmQTmenuSavvy(3X)

		    Specifies a menu child widget.

	  This trait method returns the mnemonic associated with
	  childWidget. If there is no mnemonic associated with
	  childWidget, getMnemonic returns NULL.

	The getActivateCBName Trait Method
	  char *getActivateCBName(void)

	  The getActivateCBName trait method returns a pointer to a
	  static string.  This string names the resource that contains
	  the activation callback list for this widget.	 For example,
	  this trait method will return activateCallback for
	  XmPushButton and valueChangedCallback for XmToggleButton.

     RELATED
	  XmRowColumn(3), XmLabel(3), XmPushButton(3),
	  XmDrawnButton(3), XmCascadeButton(3), XmToggleButton(3),
	  XmPushButtonGadget(3), XmToggleButtonGadget(3),
	  XmCascadeButtonGadget(3), and ExmMenuButton(3).

     Page 3					     (printed 7/20/06)

[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