Back to home page

EIC code displayed by LXR

 
 

    


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

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  *
0025  *  File:   SSpinB.h
0026  *  Date:   June 1, 1995
0027  *  Author: Mitchell Greess
0028  *
0029  *  Contents:
0030  *      Public header file for the XmSimpleSpinBox widget.
0031  *      Implements the XmSimpleSpinBox.
0032  *
0033  ******************************************************************************/
0034 
0035 #ifndef _XmSSpinB_h
0036 #define _XmSSpinB_h
0037 
0038 #include <Xm/Xm.h>
0039 
0040 #ifdef __cplusplus
0041 extern "C" {
0042 #endif
0043 
0044 /* XmSimpleSpinBox Widget */
0045 externalref WidgetClass xmSimpleSpinBoxWidgetClass;
0046 
0047 typedef struct _XmSimpleSpinBoxClassRec *XmSimpleSpinBoxWidgetClass;
0048 typedef struct _XmSimpleSpinBoxRec      *XmSimpleSpinBoxWidget;
0049 
0050 /* Spin externs for application accessible functions */
0051 extern Widget XmCreateSimpleSpinBox(
0052         Widget      parent,
0053         char        *name,
0054         ArgList     arglist,
0055         Cardinal    argcount);
0056 
0057 extern void XmSimpleSpinBoxAddItem(
0058                 Widget          widget,
0059                 XmString        item,
0060                 int             pos);
0061 
0062 extern void XmSimpleSpinBoxDeletePos(
0063                 Widget          widget,
0064                 int             pos);
0065 
0066 extern void XmSimpleSpinBoxSetItem(
0067                 Widget          widget,
0068                 XmString        item);
0069 
0070 /*
0071  * Variable argument list functions
0072  */
0073 
0074 extern Widget XmVaCreateSimpleSpinBox(
0075                         Widget parent,
0076                         char *name,
0077                         ...);
0078 
0079 extern Widget XmVaCreateManagedSimpleSpinBox(
0080                         Widget parent,
0081                         char *name,
0082                         ...);
0083 
0084 #ifdef __cplusplus
0085 }
0086 #endif
0087 
0088 #endif /* _SSpinB_h */
0089