GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  XMTMENUACTIVATEPROCEDURE (3)

NAME

XmtMenuActivateProcedure(), XmtMenuInactivateProcedure() - sensitize and desensitize menu items depending on the procedures they call.

CONTENTS

SYNOPSIS

   #include <Xmt/Menu.h>

   void XmtMenuActivateProcedure(Widget w, XtCallbackProc proc)

   void XmtMenuInactivateProcedure(Widget w, XtCallbackProc proc)

ARGUMENTS

INPUTS
w An XmtMenu widget whose items are to be made sensitive or insensitive.
proc A pointer to the procedure that is to be activated or inactivated.

DESCRIPTION

XmtMenuActivateProcedure() and XmtMenuInactivateProcedure() search the XmtMenu widget w and any XmtMenu pulldown or pull right submenus attached to w looking for menu items that invoke the procedure proc on their callback lists. XmtMenuInactivateProcedure() makes any such item insensitive, and XmtMenuActivateProcedure() makes any such item sensitive again.

These procedures work by calling XmtMenuItemSetSensitivity() which means that the sensitivity state of a menu item is counted-you must call XmtMenuActivateProcedure() as many times as you have called XmtMenuInactivateProcedure() for a given procedure in order to re-enable menu items that call that procedure.

SEE ALSO

Chapter 20, Easy Menu Creation,
XmtMenu, XmtMenuGetMenuItem(), XmtMenuItemGetSubmenu(), XmtMenuItemGetWidget(), XmtMenuItemSetSensitivity(), XmtMenuItemGetState(), XmtMenuItemSetState().
Search for    or go to Top of page |  Section 3 |  Main Index


Xmt XMTMENUACTIVATEPROCEDURE (3) Motif Tools

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.