Xaw3_1MenuButton.h revision 749
2N/A/*
2N/A * $XConsortium: MenuButton.h,v 1.7 89/12/11 14:57:44 kit Exp $
2N/A *
2N/A * Copyright 1989 Massachusetts Institute of Technology
2N/A *
2N/A * Permission to use, copy, modify, distribute, and sell this software and its
2N/A * documentation for any purpose is hereby granted without fee, provided that
2N/A * the above copyright notice appear in all copies and that both that
2N/A * copyright notice and this permission notice appear in supporting
2N/A * documentation, and that the name of M.I.T. not be used in advertising or
2N/A * publicity pertaining to distribution of the software without specific,
2N/A * written prior permission. M.I.T. makes no representations about the
2N/A * suitability of this software for any purpose. It is provided "as is"
2N/A * without express or implied warranty.
2N/A *
2N/A * M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
2N/A * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL M.I.T.
2N/A * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
2N/A * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
2N/A * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
2N/A * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2N/A */
2N/A
2N/A/***********************************************************************
2N/A *
2N/A * MenuButton Widget
2N/A *
2N/A ***********************************************************************/
2N/A
2N/A/*
2N/A * MenuButton.h - Public Header file for MenuButton widget.
2N/A *
2N/A * This is the public header file for the Athena MenuButton widget.
2N/A * It is intended to provide an easy method of activating pulldown menus.
2N/A *
2N/A * Date: May 2, 1989
2N/A *
2N/A * By: Chris D. Peterson
2N/A * MIT X Consortium
2N/A * kit@expo.lcs.mit.edu
2N/A */
2N/A
2N/A#ifndef _XawMenuButton_h
2N/A#define _XawMenuButton_h
2N/A
2N/A#include <./Xaw3_1Command.h>
2N/A
2N/A/* Resources:
2N/A
2N/A Name Class RepType Default Value
2N/A ---- ----- ------- -------------
2N/A background Background Pixel XtDefaultBackground
2N/A bitmap Pixmap Pixmap None
2N/A border BorderColor Pixel XtDefaultForeground
2N/A borderWidth BorderWidth Dimension 1
2N/A callback Callback Pointer NULL
2N/A cursor Cursor Cursor None
2N/A destroyCallback Callback Pointer NULL
2N/A font Font XFontStruct* XtDefaultFont
2N/A foreground Foreground Pixel XtDefaultForeground
2N/A height Height Dimension text height
2N/A highlightThickness Thickness Dimension 2
2N/A insensitiveBorder Insensitive Pixmap Gray
2N/A internalHeight Height Dimension 2
2N/A internalWidth Width Dimension 4
2N/A justify Justify XtJustify XtJustifyCenter
2N/A label Label String NULL
2N/A mappedWhenManaged MappedWhenManaged Boolean True
2N/A menuName MenuName String "menu"
2N/A resize Resize Boolean True
2N/A sensitive Sensitive Boolean True
2N/A width Width Dimension text width
2N/A x Position Position 0
2N/A y Position Position 0
2N/A
2N/A*/
2N/A
2N/A#define XtNmenuName "menuName"
2N/A#define XtCMenuName "MenuName"
2N/A
2N/Aextern WidgetClass menuButtonWidgetClass;
2N/A
2N/Atypedef struct _MenuButtonClassRec *MenuButtonWidgetClass;
2N/Atypedef struct _MenuButtonRec *MenuButtonWidget;
2N/A
2N/A#endif /* _XawMenuButton_h -- DON'T ADD STUFF AFTER THIS */
2N/A