Use add/delete_read_fd in xsmfns to simplify. Also restart with initial_argv.
[emacs.git] / src / widget.h
blobf64f188e15819f2d4326b7f26bf7edfaa4e0efd0
1 /* The emacs frame widget public header file.
2 Copyright (C) 1993, 2001-2011 Free Software Foundation, Inc.
4 This file is part of GNU Emacs.
6 GNU Emacs is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
11 GNU Emacs is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19 /* Emacs 19 face widget ported by Fred Pierresteguy */
21 #ifndef _EmacsFrame_h
22 #define _EmacsFrame_h
24 #define XtNminibuffer "minibuffer"
25 #define XtCMinibuffer "Minibuffer"
26 #define XtNunsplittable "unsplittable"
27 #define XtCUnsplittable "Unsplittable"
28 #define XtNinternalBorderWidth "internalBorderWidth"
29 #define XtCInternalBorderWidth "InternalBorderWidth"
30 #define XtNinterline "interline"
31 #define XtCInterline "Interline"
33 #ifndef XtNfont
34 #define XtNfont "font"
35 #endif
36 #ifndef XtCFont
37 #define XtCFont "Font"
38 #endif
39 #ifndef XtNforeground
40 #define XtNforeground "foreground"
41 #endif
42 #ifndef XtCForeground
43 #define XtCForeground "Foreground"
44 #endif
46 #define XtNcursorColor "cursorColor"
47 #define XtCCursorColor "CursorColor"
48 #define XtNbarCursor "barCursor"
49 #define XtCBarCursor "BarCursor"
51 #define XtNvisualBell "visualBell"
52 #define XtCVisualBell "VisualBell"
53 #define XtCBellVolume "BellVolume"
54 #define XtNbellVolume "bellVolume"
56 #define XtNpointerBackground "pointerBackground"
57 #define XtNpointerColor "pointerColor"
59 #define XtNtextPointer "textPointer"
60 #define XtNspacePointer "spacePointer"
61 #define XtNmodeLinePointer "modePointer"
62 #define XtNgcPointer "gcPointer"
64 #define XtNemacsFrame "emacsFrame"
65 #define XtCEmacsFrame "EmacsFrame"
67 #ifndef XtNgeometry
68 #define XtNgeometry "geometry"
69 #endif
70 #ifndef XtCGeometry
71 #define XtCGeometry "Geometry"
72 #endif
73 #ifndef XtNshowGrip
74 #define XtNshowGrip "showGrip"
75 #endif
76 #ifndef XtNallowResize
77 #define XtNallowResize "allowResize"
78 #endif
79 #ifndef XtNresizeToPreferred
80 #define XtNresizeToPreferred "resizeToPreferred"
81 #endif
83 #define XtNinitialGeometry "initialGeometry"
84 #define XtCInitialGeometry "InitialGeometry"
86 /* structures
88 typedef struct _EmacsFrameRec *EmacsFrame;
89 typedef struct _EmacsFrameClassRec *EmacsFrameClass;
91 extern WidgetClass emacsFrameClass;
93 extern struct _DisplayContext* display_context;
95 /* Special entrypoints */
96 void EmacsFrameSetCharSize (Widget, int, int);
97 void widget_store_internal_border (Widget widget);
99 #endif /* _EmacsFrame_h */