MenuButtoP.h

Go to the documentation of this file.
00001 /* $XConsortium: MenuButtoP.h,v 1.8 94/04/17 20:12:18 converse Exp $
00002  *
00003 Copyright (c) 1989  X Consortium
00004 
00005 Permission is hereby granted, free of charge, to any person obtaining a copy
00006 of this software and associated documentation files (the "Software"), to deal
00007 in the Software without restriction, including without limitation the rights
00008 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
00009 copies of the Software, and to permit persons to whom the Software is
00010 furnished to do so, subject to the following conditions:
00011 
00012 The above copyright notice and this permission notice shall be included in
00013 all copies or substantial portions of the Software.
00014 
00015 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
00016 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00017 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
00018 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
00019 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
00020 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00021 
00022 Except as contained in this notice, the name of the X Consortium shall not be
00023 used in advertising or otherwise to promote the sale, use or other dealings
00024 in this Software without prior written authorization from the X Consortium.
00025  */
00026 
00027 /***********************************************************************
00028  *
00029  * MenuButton Widget
00030  *
00031  ***********************************************************************/
00032 
00033 /*
00034  * MenuButtonP.h - Private Header file for MenuButton widget.
00035  *
00036  * This is the private header file for the Athena MenuButton widget.
00037  * It is intended to provide an easy method of activating pulldown menus.
00038  *
00039  * Date:    May 2, 1989
00040  *
00041  * By:      Chris D. Peterson
00042  *          MIT X Consortium 
00043  *          kit@expo.lcs.mit.edu
00044  */
00045 
00046 #ifndef _XawMenuButtonP_h
00047 #define _XawMenuButtonP_h
00048 
00049 #include <X11/Xaw3d/MenuButton.h>
00050 #include <X11/Xaw3d/CommandP.h>
00051 
00052 /************************************
00053  *
00054  *  Class structure
00055  *
00056  ***********************************/
00057 
00058 
00059    /* New fields for the MenuButton widget class record */
00060 typedef struct _MenuButtonClass 
00061 {
00062   int makes_compiler_happy;  /* not used */
00063 } MenuButtonClassPart;
00064 
00065    /* Full class record declaration */
00066 typedef struct _MenuButtonClassRec {
00067   CoreClassPart     core_class;
00068   SimpleClassPart           simple_class;
00069   ThreeDClassPart           threeD_class;
00070   LabelClassPart            label_class;
00071   CommandClassPart          command_class;
00072   MenuButtonClassPart     menuButton_class;
00073 } MenuButtonClassRec;
00074 
00075 extern MenuButtonClassRec menuButtonClassRec;
00076 
00077 /***************************************
00078  *
00079  *  Instance (widget) structure 
00080  *
00081  **************************************/
00082 
00083     /* New fields for the MenuButton widget record */
00084 typedef struct {
00085   /* resources */
00086   String menu_name;
00087 
00088 } MenuButtonPart;
00089 
00090    /* Full widget declaration */
00091 typedef struct _MenuButtonRec {
00092     CorePart         core;
00093     SimplePart       simple;
00094     ThreeDPart       threeD;
00095     LabelPart        label;
00096     CommandPart      command;
00097     MenuButtonPart   menu_button;
00098 } MenuButtonRec;
00099 
00100 #endif /* _XawMenuButtonP_h */
00101 
00102 

Generated on Sun Mar 4 15:03:55 2007 for Scilab [trunk] by  doxygen 1.5.1