Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:15:23

0001 /* $TOG: ComboBox.h /main/7 1998/02/23 10:32:29 cshi $ */
0002 /*
0003  * Motif
0004  *
0005  * Copyright (c) 1987-2012, The Open Group. All rights reserved.
0006  *
0007  * These libraries and programs are free software; you can
0008  * redistribute them and/or modify them under the terms of the GNU
0009  * Lesser General Public License as published by the Free Software
0010  * Foundation; either version 2 of the License, or (at your option)
0011  * any later version.
0012  *
0013  * These libraries and programs are distributed in the hope that
0014  * they will be useful, but WITHOUT ANY WARRANTY; without even the
0015  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
0016  * PURPOSE. See the GNU Lesser General Public License for more
0017  * details.
0018  *
0019  * You should have received a copy of the GNU Lesser General Public
0020  * License along with these librararies and programs; if not, write
0021  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
0022  * Floor, Boston, MA 02110-1301 USA
0023  */
0024 /*
0025  * HISTORY
0026  */
0027 /* ComboBox.h */
0028 
0029 #ifndef _XmComboBox_h
0030 #define _XmComboBox_h
0031 
0032 #include <Xm/Xm.h>
0033 
0034 #ifdef __cplusplus
0035 extern "C" {
0036 #endif
0037 
0038 externalref WidgetClass xmComboBoxWidgetClass;
0039 
0040 typedef struct _XmComboBoxClassRec  * XmComboBoxWidgetClass;
0041 typedef struct _XmComboBoxRec       * XmComboBoxWidget;
0042 
0043 
0044 /* XmIsComboBox may already be defined for Fast Subclassing  */
0045 #ifndef XmIsComboBox
0046 #define XmIsComboBox(w)     XtIsSubclass(w, xmComboBoxWidgetClass)
0047 #endif  /* XmIsComboBox */
0048 
0049 /********    Public Function Declarations    ********/
0050 
0051 extern Widget XmCreateComboBox (Widget parent, 
0052                 char *name, 
0053                 ArgList args, 
0054                 Cardinal argCount);
0055 extern Widget XmCreateDropDownComboBox (Widget parent, 
0056                     char *name, 
0057                     ArgList args, 
0058                     Cardinal argCount);
0059 extern Widget XmCreateDropDownList (Widget parent, 
0060                     char *name, 
0061                     ArgList args, 
0062                     Cardinal argCount);
0063 extern Widget XmVaCreateComboBox(
0064                         Widget parent,
0065                         char *name,
0066                         ...);
0067 extern Widget XmVaCreateManagedComboBox(
0068                         Widget parent,
0069                         char *name,
0070                         ...);
0071 extern void XmComboBoxAddItem (Widget   widget,
0072                    XmString item,
0073                    int      pos,
0074                    Boolean  unique);
0075 extern void XmComboBoxDeletePos (Widget widget,
0076                  int    pos);
0077 extern void XmComboBoxSelectItem (Widget   widget,
0078                   XmString item);
0079 
0080 /* JIM ADDED THIS TO APEASE SYMBOL GOD */
0081 extern XmString  XmCombinationBoxGetValue(Widget widget);
0082 
0083 extern void XmComboBoxSetItem (Widget   widget,
0084                    XmString item);
0085 extern void XmComboBoxUpdate (Widget widget);
0086 
0087 /********    End Public Function Declarations    ********/
0088 
0089 
0090 #ifdef __cplusplus
0091 }  /* Close scope of 'extern "C"' declaration which encloses file. */
0092 #endif
0093 
0094 #endif /* _XmComboBox_h */
0095 /* DON'T ADD ANYTHING AFTER THIS #endif */
0096