749N/A/*
749N/A * $XConsortium: MenuButtoP.h,v 1.6 89/12/11 14:57:23 kit Exp $
749N/A *
749N/A * Copyright 1989 Massachusetts Institute of Technology
749N/A *
749N/A * Permission to use, copy, modify, distribute, and sell this software and its
749N/A * documentation for any purpose is hereby granted without fee, provided that
749N/A * the above copyright notice appear in all copies and that both that
749N/A * copyright notice and this permission notice appear in supporting
749N/A * documentation, and that the name of M.I.T. not be used in advertising or
749N/A * publicity pertaining to distribution of the software without specific,
749N/A * written prior permission. M.I.T. makes no representations about the
749N/A * suitability of this software for any purpose. It is provided "as is"
749N/A * without express or implied warranty.
749N/A *
749N/A * M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
749N/A * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL M.I.T.
749N/A * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
749N/A * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
749N/A * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
749N/A * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
749N/A */
749N/A
749N/A/***********************************************************************
749N/A *
749N/A * MenuButton Widget
749N/A *
749N/A ***********************************************************************/
749N/A
749N/A/*
749N/A * MenuButtonP.h - Private Header file for MenuButton widget.
749N/A *
749N/A * This is the private header file for the Athena MenuButton widget.
749N/A * It is intended to provide an easy method of activating pulldown menus.
749N/A *
749N/A * Date: May 2, 1989
749N/A *
749N/A * By: Chris D. Peterson
749N/A * MIT X Consortium
749N/A * kit@expo.lcs.mit.edu
749N/A */
749N/A
749N/A#ifndef _XawMenuButtonP_h
749N/A#define _XawtMenuButtonP_h
749N/A
749N/A#include <./Xaw3_1MenuButton.h>
749N/A#include <./Xaw3_1CommandP.h>
749N/A
749N/A/************************************
749N/A *
749N/A * Class structure
749N/A *
749N/A ***********************************/
749N/A
749N/A
749N/A /* New fields for the MenuButton widget class record */
749N/Atypedef struct _MenuButtonClass
749N/A{
749N/A int makes_compiler_happy; /* not used */
749N/A} MenuButtonClassPart;
749N/A
749N/A /* Full class record declaration */
749N/Atypedef struct _MenuButtonClassRec {
749N/A CoreClassPart core_class;
749N/A SimpleClassPart simple_class;
749N/A LabelClassPart label_class;
749N/A CommandClassPart command_class;
749N/A MenuButtonClassPart menuButton_class;
749N/A} MenuButtonClassRec;
749N/A
749N/Aextern MenuButtonClassRec menuButtonClassRec;
749N/A
749N/A/***************************************
749N/A *
749N/A * Instance (widget) structure
749N/A *
749N/A **************************************/
749N/A
749N/A /* New fields for the MenuButton widget record */
749N/Atypedef struct {
749N/A /* resources */
749N/A String menu_name;
749N/A
749N/A} MenuButtonPart;
749N/A
749N/A /* Full widget declaration */
749N/Atypedef struct _MenuButtonRec {
749N/A CorePart core;
749N/A SimplePart simple;
749N/A LabelPart label;
749N/A CommandPart command;
749N/A MenuButtonPart menu_button;
749N/A} MenuButtonRec;
749N/A
749N/A#endif /* _XawMenuButtonP_h */
749N/A
749N/A