Back to home page

EIC code displayed by LXR

 
 

    


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

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 __XmTabStack_h__
0025 #define __XmTabStack_h__
0026 
0027 #include <Xm/Ext.h>
0028 #include <Xm/TabBox.h>
0029 #include <Xm/TabList.h>
0030 #include <Xm/DrawUtils.h>
0031 
0032 #ifdef __cplusplus
0033 extern "C" {
0034 #endif
0035 
0036 typedef struct _XmTabStackRec      *XmTabStackWidget;
0037 typedef struct _XmTabStackClassRec *XmTabStackWidgetClass;
0038 extern WidgetClass                 xmTabStackWidgetClass;
0039 
0040 #ifndef XmIsTabStack
0041 #define XmIsTabStack(w) XtIsSubclass(w, xmTabStackWidgetClass)
0042 #endif /* XmIsTabStack */
0043 
0044 extern Widget XmCreateTabStack(Widget, String, ArgList, Cardinal);
0045 extern Widget XmTabStackGetSelectedTab(Widget);
0046 extern void   XmTabStackSelectTab(Widget, Boolean);
0047 extern Widget XmTabStackIndexToWidget(Widget, int);
0048 extern Widget XmTabStackXYToWidget(Widget, int, int);
0049 
0050 /*
0051  * Variable argument list functions
0052  */
0053 
0054 extern Widget XmVaCreateTabStack(
0055                         Widget parent,
0056                         char *name,
0057                         ...);
0058 extern Widget XmVaCreateManagedTabStack(
0059                         Widget parent,
0060                         char *name,
0061                         ...);
0062 
0063 #ifdef __cplusplus
0064 } /* Close scope of 'extern "C"' declaration */
0065 #endif
0066 
0067 
0068 #endif /* __TabStack_h__ */