1 /*********************************************************************************
4 ** $XConsortium: MonthPanel.h /main/4 1995/11/03 10:16:43 rswiston $
6 ** RESTRICTED CONFIDENTIAL INFORMATION:
8 ** The information in this document is subject to special
9 ** restrictions in a confidential disclosure agreement between
10 ** HP, IBM, Sun, USL, SCO and Univel. Do not distribute this
11 ** document outside HP, IBM, Sun, USL, SCO, or Univel without
12 ** Sun's specific written approval. This document and all copies
13 ** and derivative works thereof must be returned or destroyed at
16 ** Copyright 1993 Sun Microsystems, Inc. All rights reserved.
18 *******************************************************************************/
21 * (c) Copyright 1993, 1994 Hewlett-Packard Company *
22 * (c) Copyright 1993, 1994 International Business Machines Corp. *
23 * (c) Copyright 1993, 1994 Sun Microsystems, Inc. *
24 * (c) Copyright 1993, 1994 Novell, Inc. *
28 * Month Panel widget public header file
30 #ifndef _XmMonthPanel_h
31 #define _XmMonthPanel_h
39 #ifndef XmIsMonthPanel
40 #define XmIsMonthPanel(w) XtIsSubclass(w, xmMonthPanelWidgetClass)
41 #endif /* XmIsMonthPanel */
43 externalref WidgetClass xmMonthPanelWidgetClass;
45 typedef struct _XmMonthPanelClassRec * XmMonthPanelWidgetClass;
46 typedef struct _XmMonthPanelRec * XmMonthPanelWidget;
48 typedef enum { MONTH_SELECTION, DAY_SELECTION } XmMonthPanelSelectionType;
51 XmMonthPanelSelectionType type;
53 } XmMonthPanelCallbackStruct;
55 /******** Public Function Declarations ********/
57 extern Widget XmCreateMonthPanel(
63 /******** End Public Function Declarations ********/
65 /******** Resource Strings ********/
66 #define XmNmonth "month"
67 #define XmCMonth "Month"
68 #define XmNyear "year"
69 #define XmCYear "Year"
70 #define XmNtitleFormat "titleFormat"
71 #define XmCTitleFormat "TitleFormat"
72 #define XmNactiveDays "activeDays"
73 #define XmCActiveDays "ActiveDays"
74 #define XmNactiveHeader "activeHeader"
75 #define XmCActiveHeader "ActiveHeader"
76 #define XmNshowPanelHeader "showPanelHeader"
77 #define XmCShowPanelHeader "ShowPanelHeader"
78 #define XmNshowColumnHeaders "showColumnHeaders"
79 #define XmCShowColumnHeaders "ShowColumnHeaders"
81 #define XmNshowSeparator "showSeparator"
82 #define XmCShowSeparator "ShowSeparator"
84 /******** End Resource Strings ********/
88 } /* Close scope of 'extern "C"' declaration which encloses file. */
91 #endif /* _XmMonthPanel_h */
92 /* DON'T ADD ANYTHING AFTER THIS #endif */