/* $XConsortium: menuShell.dat /main/4 1995/07/17 10:30:44 drk $ */ /* * 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 */ #) This is a RowColumn inside a MenuShell with\nthe following characteristics: XmMenuShell resources: - XmNwidth is 5 - XmNheight is 5 - XmNallowShellResize is true - XmNoverrideRedirect is true Other Widget resources: - RowColumn consists of four pushbuttons. - menuAccelerator is P - fontList is variable - activateCallback is associated with the pushbuttons. - The activation of a pushbutton will change the color of the next pushButton to yellow. This is done by passing the widget ID in the callback. Activating the last pushButton will change the color of the first pushButton. - You should be able to traverse the popup menu via the keyboard. All other resources are set by default. E)