Back to home page

EIC code displayed by LXR

 
 

    


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

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 #ifndef _XmHierarchy_h
0026 #define _XmHierarchy_h
0027 
0028 #if defined(VMS) || defined(__VMS)
0029 #include <X11/apienvset.h>
0030 #endif
0031 
0032 #include <Xm/Ext.h>
0033 
0034 /************************************************************
0035 *   INCLUDE FILES
0036 *************************************************************/
0037 
0038 /************************************************************
0039 *   TYPEDEFS AND DEFINES
0040 *************************************************************/
0041 
0042 #if defined(__cplusplus)
0043 extern "C" {
0044 #endif
0045 
0046 typedef struct _XmHierarchyClassRec *XmHierarchyWidgetClass;
0047 typedef struct _XmHierarchyRec      *XmHierarchyWidget;
0048 
0049 typedef struct _XmHierarchyNodeStateData {
0050     Widget widget;
0051     XmHierarchyNodeState state;
0052 } XmHierarchyNodeStateData;
0053 
0054 /************************************************************
0055 *   MACROS
0056 *************************************************************/
0057 
0058 /************************************************************
0059 *   GLOBAL FUNCTION DECLARATIONS
0060 *************************************************************/
0061 
0062 /*  Function Name: XmHierarchyOpenAllAncestors
0063  *  Description: This function opens all ancestors of the given node.
0064  *  Arguments: nw - the node (widget) that will be changed.
0065  *  Returns: none
0066  */
0067 
0068 void XmHierarchyOpenAllAncestors(Widget);
0069 
0070 WidgetList XmHierarchyGetChildNodes(Widget);
0071 
0072 extern WidgetClass xmHierarchyWidgetClass;
0073 
0074 #if defined(__cplusplus)
0075 }
0076 #endif
0077 
0078 #endif /* _Hierarchy_h */