Debian Codegraph @

gui/GraphLib/libsrc/uimxR5/include/UxTopSh.h

raw
1 /* @(#)UxTopSh.h 17.1 (ESO-IPG) 01/25/02 17:26:03 */
2 #ifndef UXTopLevelShell_INCLUDED
3 #define UXTopLevelShell_INCLUDED
4
5 #include "X11/Shell.h"
6
7 #ifdef DESIGN_TIME
8 #include "UxVendSh.h"
9
10 #ifndef UxGetIconNameEncoding
11 extern binptr UxP_TopLevelShellRD_iconNameEncoding;
12 #define UxGetIconNameEncoding(sw) \
13 UxGET_string(sw,UxP_TopLevelShellRD_iconNameEncoding,"iconNameEncoding")
14 #define UxPutIconNameEncoding(sw,val) \
15 UxPUT_string(sw,UxP_TopLevelShellRD_iconNameEncoding,"iconNameEncoding",val)
16 #endif
17
18 #ifndef UxGetIconName
19 extern binptr UxP_TopLevelShellRD_iconName;
20 #define UxGetIconName(sw) \
21 UxGET_string(sw,UxP_TopLevelShellRD_iconName,"iconName")
22 #define UxPutIconName(sw,val) \
23 UxPUT_string(sw,UxP_TopLevelShellRD_iconName,"iconName",val)
24 #endif
25
26 #ifndef UxGetIconic
27 extern binptr UxP_TopLevelShellRD_iconic;
28 #define UxGetIconic(sw) \
29 UxGET_string(sw,UxP_TopLevelShellRD_iconic,"iconic")
30 #define UxPutIconic(sw,val) \
31 UxPUT_string(sw,UxP_TopLevelShellRD_iconic,"iconic",val)
32 #endif
33
34 extern Class_t UxC_topLevelShell;
35 #define UxCreateTopLevelShell(name,parent) \
36 UxCreateSwidget(UxC_topLevelShell,name,parent)
37 #else
38 #define UxCreateTopLevelShell(name,parent) \
39 UxCreateSwidget(name,topLevelShellWidgetClass,parent)
40 #endif
41 #endif