2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these librararies and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* $XConsortium: MultiView.h /main/4 1995/11/02 14:42:56 rswiston $ */
24 /************************************<+>*************************************
25 ****************************************************************************
29 * COMPONENT_NAME: Desktop File Manager
31 * DESCRIPTION: Public include file for the shared multi-view functions.
33 * (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
34 * (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
35 * (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
36 * (c) Copyright 1993, 1994, 1995 Novell, Inc.
38 ****************************************************************************
39 ************************************<+>*************************************/
51 XtCallbackProc helpCallback;
52 XtPointer activateData;
53 XtCallbackProc activateCallback;
59 /******** Public Function Declarations ********/
61 extern Widget _DtCreateMenuSystem(
64 XtCallbackProc helpCallback,
66 Boolean createSharedComponents,
68 int numMenuComponents,
69 void (*getMenuDataProc)(),
70 void (*setMenuSensitivity)(),
71 void (*restoreMenuSensitivity)()) ;
72 extern void _DtGlobalUpdateMenuItemState(
76 unsigned int * globalMenuStates) ;
77 extern void _DtGlobalSetMenuSensitivity(
79 XtPointer client_data,
80 XtPointer call_data) ;
81 extern void _DtGlobalRestoreMenuSensitivity(
83 XtPointer client_data,
84 XtPointer call_data) ;
86 /******** End Public Function Declarations ********/
89 /* Defines for menu components */
91 #define MENU_PULLDOWN_BUTTON 1
93 #define MENU_SEPARATOR 3
94 #define SHARED_MENU_PANE 4
95 #define MENU_TOGGLE_BUTTON 5
98 #endif /* _MultiView_h */
99 /* DON'T ADD ANYTHING AFTER THIS #endif */