1: /** 2: * 3: * $Id: RowColumn.h,v 1.2 2000/09/23 14:51:40 amai Exp $ 4: * 5: * Copyright (C) 1995 Free Software Foundation, Inc. 6: * Copyright (C) 1995-2000 LessTif Development Team 7: * 8: * This file is part of the GNU LessTif Library. 9: * 10: * This library is free software; you can redistribute it and/or 11: * modify it under the terms of the GNU Library General Public 12: * License as published by the Free Software Foundation; either 13: * version 2 of the License, or (at your option) any later version. 14: * 15: * This library is distributed in the hope that it will be useful, 16: * but WITHOUT ANY WARRANTY; without even the implied warranty of 17: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18: * Library General Public License for more details. 19: * 20: * You should have received a copy of the GNU Library General Public 21: * License along with this library; if not, write to the Free 22: * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 23: * 24: **/ 25: 26: 27: #ifndef _XM_ROWCOLUMN_H 28: #define _XM_ROWCOLUMN_H 29: 30: #include <Xm/Xm.h> 31: 32: #ifdef __cplusplus 33: extern "C" { 34: #endif 35: 36: extern WidgetClass xmRowColumnWidgetClass; 37: 38: typedef struct _XmRowColumnRec *XmRowColumnWidget; 39: typedef struct _XmRowColumnClassRec *XmRowColumnWidgetClass; 40: 41: #ifndef XmIsRowColumn 42: #define XmIsRowColumn(w) XtIsSubclass((w), xmRowColumnWidgetClass) 43: #endif 44: 45: extern Widget XmCreateMenuBar(Widget parent, char *name, Arg *arglist, Cardinal argcount); 46: extern Widget XmCreateOptionMenu(Widget parent, char *name, Arg *arglist, Cardinal argcount); 47: extern Widget XmCreatePopupMenu(Widget parent, char *name, Arg *arglist, Cardinal argcount); 48: extern Widget XmCreatePulldownMenu(Widget parent, char *name, Arg *arglist, Cardinal argcount); 49: extern Widget XmCreateRadioBox(Widget parent, char *name, Arg *arglist, Cardinal argcount); 50: extern Widget XmCreateRowColumn(Widget parent, char *name, Arg *arglist, Cardinal argcount); 51: extern Widget XmCreateWorkArea(Widget parent, char *name, Arg *arglist, Cardinal argcount); 52: 53: extern Widget XmOptionButtonGadget(Widget option_menu); 54: extern Widget XmOptionLabelGadget(Widget option_menu); 55: 56: extern void XmMenuPosition(Widget menu, XButtonPressedEvent *event); 57: extern Widget XmGetTearOffControl(Widget menu); 58: 59: extern void XmAddToPostFromList(Widget menu_wid, Widget widget); 60: extern void XmRemoveFromPostFromList(Widget menu_wid, Widget widget); 61: extern Widget XmGetPostedFromWidget(Widget menu); 62: 63: #ifdef __cplusplus 64: } 65: #endif 66: 67: #endif /* _XM_ROWCOLUMN_H */ 68: