Blob Blame History Raw
/* 
 * Motif
 *
 * Copyright (c) 1987-2012, The Open Group. All rights reserved.
 *
 * These libraries and programs are free software; you can
 * redistribute them and/or modify them under the terms of the GNU
 * Lesser General Public License as published by the Free Software
 * Foundation; either version 2 of the License, or (at your option)
 * any later version.
 *
 * These libraries and programs are distributed in the hope that
 * they will be useful, but WITHOUT ANY WARRANTY; without even the
 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 * PURPOSE. See the GNU Lesser General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with these librararies and programs; if not, write
 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
 * Floor, Boston, MA 02110-1301 USA
*/ 
/* 
 * HISTORY
*/ 
/*
static char rcsid[] = "$XConsortium: PopupMenu2.dat /main/5 1995/07/13 18:52:03 drk $"
*/

#) A client window will appear containing a label widget. 
#) Move the pointer into the client window and press MB3.  A
   PopupMenu will appear. 
#) Drag the pointer down through the PopupMenu.
   You will notice the following behavior:
   - Each time the pointer passes into a Pushbutton widget, a
     message indicating that the widget's arm callback has been
     called will be displayed in the xterm window.
   - Each time the pointer passes out of a Pushbutton widget, a
     message indicating that the widget's disarm callback has been
     called will be displayed in the xterm window.
   - Each time the pointer passes into a CascadeButton widget, a
     message indicating that the widget's cascade callback has been
     called will be displayed in the xterm window. 
#) Drag the pointer to the top of the PopupMenu.  Release MB3.
   The PopupMenu will disappear. 
C)

#) A translation has been added to MB1. Use MB1 to bring up
   the popup menu. 

E)