Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /*
0002  * Motif
0003  *
0004  * Copyright (c) 1987-2012, The Open Group. All rights reserved.
0005  *
0006  * These libraries and programs are free software; you can
0007  * redistribute them and/or modify them under the terms of the GNU
0008  * Lesser General Public License as published by the Free Software
0009  * Foundation; either version 2 of the License, or (at your option)
0010  * any later version.
0011  *
0012  * These libraries and programs are distributed in the hope that
0013  * they will be useful, but WITHOUT ANY WARRANTY; without even the
0014  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
0015  * PURPOSE. See the GNU Lesser General Public License for more
0016  * details.
0017  *
0018  * You should have received a copy of the GNU Lesser General Public
0019  * License along with these librararies and programs; if not, write
0020  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
0021  * Floor, Boston, MA 02110-1301 USA
0022  */
0023 
0024 #ifndef _XmCominationBox2_h_
0025 #define _XmCominationBox2_h_
0026 
0027 #include <Xm/DropDown.h>
0028 #include <Xm/XmP.h>
0029 
0030 #if defined(__cplusplus)
0031 extern "C" {
0032 #endif
0033 
0034 enum {
0035     XiCOMBINATIONBOX2_LABEL = XmDROPDOWN_LABEL,
0036     XiCOMBINATIONBOX2_TEXT  = XmDROPDOWN_TEXT,
0037     XiCOMBINATIONBOX2_ARROW_BUTTON = XmDROPDOWN_ARROW_BUTTON,
0038     XiCOMBINATIONBOX2_LIST  = XmDROPDOWN_LIST
0039 };
0040 
0041 extern WidgetClass xmCombinationBox2WidgetClass XM_DEPRECATED;
0042 
0043 typedef XmDropDownWidgetClass   *XmCombinationBox2WidgetClass;
0044 typedef XmDropDownWidget    *XmCombinationBox2Widget;
0045 
0046 /*  Function Name: XmCombinationBox2GetValue
0047  *  Description:   Retreives the value from the combo box.
0048  *  Arguments:     w - the combination box.
0049  *  Returns:       The value in the text widget.
0050  */
0051 
0052 extern String XmCombinationBox2GetValue(Widget w) XM_DEPRECATED;
0053 
0054 /*  Function Name: XmCreateCombinationBox2
0055  *  Description: Creation Routine for UIL and ADA.
0056  *  Arguments: parent - the parent widget.
0057  *                 name - the name of the widget.
0058  *                 args, num_args - the number and list of args.
0059  *  Returns: The Widget created.
0060  */
0061 
0062 extern Widget XmCreateCombinationBox2(Widget w,
0063                                       char *name,
0064                                       ArgList args,
0065                                       Cardinal argCount) XM_DEPRECATED;
0066 
0067 /*
0068  * Variable argument list functions
0069  */
0070 
0071 extern Widget XmVaCreateCombinationBox2(
0072                         Widget parent,
0073                         char *name,
0074                         ...) XM_DEPRECATED;
0075   
0076 extern Widget XmVaCreateManagedCombinationBox2(
0077                         Widget parent,
0078                         char *name,
0079                         ...) XM_DEPRECATED;
0080 
0081 /*      Function Name:  XmCombinationBox2GetLabel
0082  *      Description:    Returns the "label" child of the XmCombinationBox2
0083  *      Arguments:      w - The XmCombinationBox2 Widget
0084  *      Returns:        The specified child of the XmCombinationBox2
0085  */
0086 
0087 Widget XmCombinationBox2GetLabel(Widget w) XM_DEPRECATED;
0088 
0089 /*      Function Name:  XmCombinationBox2GetArrow
0090  *      Description:    Returns the "arrow" child of the XmCombinationBox2
0091  *      Arguments:      w - The XmCombinationBox2 Widget
0092  *      Returns:        The specified child of the XmCombinationBox2
0093  */
0094 
0095 Widget XmCombinationBox2GetArrow(Widget w) XM_DEPRECATED;
0096 
0097 /*      Function Name:  XmCombinationBox2GetText
0098  *      Description:    Returns the "text" child of the XmCombinationBox2
0099  *      Arguments:      w - The XmCombinationBox2 Widget
0100  *      Returns:        The specified child of the XmCombinationBox2
0101  */
0102 
0103 Widget XmCombinationBox2GetText(Widget w) XM_DEPRECATED;
0104 
0105 /*      Function Name:  XmCombinationBox2GetList
0106  *      Description:    Returns the "list" child of the XmCombinationBox2
0107  *      Arguments:      w - The XmCombinationBox2 Widget
0108  *      Returns:        The specified child of the XmCombinationBox2
0109  */
0110 
0111 Widget XmCombinationBox2GetList(Widget w) XM_DEPRECATED;
0112 
0113 /*      Function Name:  XmCombinationBox2GetChild
0114  *      Description:    Returns the child widget id of the XmCombinationBox2
0115  *      Arguments:      w - The XmCombinationBox2 Widget
0116  *      Returns:        The specified child of the XmCombinationBox2
0117  */
0118 Widget XmCombinationBox2GetChild(Widget w, int child) XM_DEPRECATED;
0119 
0120 #if defined(__cplusplus)
0121 }
0122 #endif
0123 
0124 #endif /* _XmCombinationBox2_h_ */