|
Packit |
b099d7 |
/*
|
|
Packit |
b099d7 |
* Motif
|
|
Packit |
b099d7 |
*
|
|
Packit |
b099d7 |
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
|
|
Packit |
b099d7 |
*
|
|
Packit |
b099d7 |
* These libraries and programs are free software; you can
|
|
Packit |
b099d7 |
* redistribute them and/or modify them under the terms of the GNU
|
|
Packit |
b099d7 |
* Lesser General Public License as published by the Free Software
|
|
Packit |
b099d7 |
* Foundation; either version 2 of the License, or (at your option)
|
|
Packit |
b099d7 |
* any later version.
|
|
Packit |
b099d7 |
*
|
|
Packit |
b099d7 |
* These libraries and programs are distributed in the hope that
|
|
Packit |
b099d7 |
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
|
Packit |
b099d7 |
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
Packit |
b099d7 |
* PURPOSE. See the GNU Lesser General Public License for more
|
|
Packit |
b099d7 |
* details.
|
|
Packit |
b099d7 |
*
|
|
Packit |
b099d7 |
* You should have received a copy of the GNU Lesser General Public
|
|
Packit |
b099d7 |
* License along with these librararies and programs; if not, write
|
|
Packit |
b099d7 |
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
|
Packit |
b099d7 |
* Floor, Boston, MA 02110-1301 USA
|
|
Packit |
b099d7 |
*/
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#ifndef _XmCominationBox2_h_
|
|
Packit |
b099d7 |
#define _XmCominationBox2_h_
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#include <Xm/DropDown.h>
|
|
Packit |
b099d7 |
#include <Xm/XmP.h>
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#if defined(__cplusplus)
|
|
Packit |
b099d7 |
extern "C" {
|
|
Packit |
b099d7 |
#endif
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
enum {
|
|
Packit |
b099d7 |
XiCOMBINATIONBOX2_LABEL = XmDROPDOWN_LABEL,
|
|
Packit |
b099d7 |
XiCOMBINATIONBOX2_TEXT = XmDROPDOWN_TEXT,
|
|
Packit |
b099d7 |
XiCOMBINATIONBOX2_ARROW_BUTTON = XmDROPDOWN_ARROW_BUTTON,
|
|
Packit |
b099d7 |
XiCOMBINATIONBOX2_LIST = XmDROPDOWN_LIST
|
|
Packit |
b099d7 |
};
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
extern WidgetClass xmCombinationBox2WidgetClass XM_DEPRECATED;
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
typedef XmDropDownWidgetClass *XmCombinationBox2WidgetClass;
|
|
Packit |
b099d7 |
typedef XmDropDownWidget *XmCombinationBox2Widget;
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
/* Function Name: XmCombinationBox2GetValue
|
|
Packit |
b099d7 |
* Description: Retreives the value from the combo box.
|
|
Packit |
b099d7 |
* Arguments: w - the combination box.
|
|
Packit |
b099d7 |
* Returns: The value in the text widget.
|
|
Packit |
b099d7 |
*/
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
extern String XmCombinationBox2GetValue(Widget w) XM_DEPRECATED;
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
/* Function Name: XmCreateCombinationBox2
|
|
Packit |
b099d7 |
* Description: Creation Routine for UIL and ADA.
|
|
Packit |
b099d7 |
* Arguments: parent - the parent widget.
|
|
Packit |
b099d7 |
* name - the name of the widget.
|
|
Packit |
b099d7 |
* args, num_args - the number and list of args.
|
|
Packit |
b099d7 |
* Returns: The Widget created.
|
|
Packit |
b099d7 |
*/
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
extern Widget XmCreateCombinationBox2(Widget w,
|
|
Packit |
b099d7 |
char *name,
|
|
Packit |
b099d7 |
ArgList args,
|
|
Packit |
b099d7 |
Cardinal argCount) XM_DEPRECATED;
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
/*
|
|
Packit |
b099d7 |
* Variable argument list functions
|
|
Packit |
b099d7 |
*/
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
extern Widget XmVaCreateCombinationBox2(
|
|
Packit |
b099d7 |
Widget parent,
|
|
Packit |
b099d7 |
char *name,
|
|
Packit |
b099d7 |
...) XM_DEPRECATED;
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
extern Widget XmVaCreateManagedCombinationBox2(
|
|
Packit |
b099d7 |
Widget parent,
|
|
Packit |
b099d7 |
char *name,
|
|
Packit |
b099d7 |
...) XM_DEPRECATED;
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
/* Function Name: XmCombinationBox2GetLabel
|
|
Packit |
b099d7 |
* Description: Returns the "label" child of the XmCombinationBox2
|
|
Packit |
b099d7 |
* Arguments: w - The XmCombinationBox2 Widget
|
|
Packit |
b099d7 |
* Returns: The specified child of the XmCombinationBox2
|
|
Packit |
b099d7 |
*/
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
Widget XmCombinationBox2GetLabel(Widget w) XM_DEPRECATED;
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
/* Function Name: XmCombinationBox2GetArrow
|
|
Packit |
b099d7 |
* Description: Returns the "arrow" child of the XmCombinationBox2
|
|
Packit |
b099d7 |
* Arguments: w - The XmCombinationBox2 Widget
|
|
Packit |
b099d7 |
* Returns: The specified child of the XmCombinationBox2
|
|
Packit |
b099d7 |
*/
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
Widget XmCombinationBox2GetArrow(Widget w) XM_DEPRECATED;
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
/* Function Name: XmCombinationBox2GetText
|
|
Packit |
b099d7 |
* Description: Returns the "text" child of the XmCombinationBox2
|
|
Packit |
b099d7 |
* Arguments: w - The XmCombinationBox2 Widget
|
|
Packit |
b099d7 |
* Returns: The specified child of the XmCombinationBox2
|
|
Packit |
b099d7 |
*/
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
Widget XmCombinationBox2GetText(Widget w) XM_DEPRECATED;
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
/* Function Name: XmCombinationBox2GetList
|
|
Packit |
b099d7 |
* Description: Returns the "list" child of the XmCombinationBox2
|
|
Packit |
b099d7 |
* Arguments: w - The XmCombinationBox2 Widget
|
|
Packit |
b099d7 |
* Returns: The specified child of the XmCombinationBox2
|
|
Packit |
b099d7 |
*/
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
Widget XmCombinationBox2GetList(Widget w) XM_DEPRECATED;
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
/* Function Name: XmCombinationBox2GetChild
|
|
Packit |
b099d7 |
* Description: Returns the child widget id of the XmCombinationBox2
|
|
Packit |
b099d7 |
* Arguments: w - The XmCombinationBox2 Widget
|
|
Packit |
b099d7 |
* Returns: The specified child of the XmCombinationBox2
|
|
Packit |
b099d7 |
*/
|
|
Packit |
b099d7 |
Widget XmCombinationBox2GetChild(Widget w, int child) XM_DEPRECATED;
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#if defined(__cplusplus)
|
|
Packit |
b099d7 |
}
|
|
Packit |
b099d7 |
#endif
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#endif /* _XmCombinationBox2_h_ */
|