Mercurial > hg > xemacs-beta
comparison src/frameslots.h @ 0:376386a54a3c r19-14
Import from CVS: tag r19-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:45:50 +0200 |
parents | |
children | 1f0dabaa0855 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:376386a54a3c |
---|---|
1 /* Definitions of marked slots in frames | |
2 Copyright (C) 1988, 1992, 1993, 1994 Free Software Foundation, Inc. | |
3 Copyright (C) 1996 Ben Wing. | |
4 | |
5 This file is part of XEmacs. | |
6 | |
7 XEmacs is free software; you can redistribute it and/or modify it | |
8 under the terms of the GNU General Public License as published by the | |
9 Free Software Foundation; either version 2, or (at your option) any | |
10 later version. | |
11 | |
12 XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
15 for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with XEmacs; see the file COPYING. If not, write to | |
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
20 Boston, MA 02111-1307, USA. */ | |
21 | |
22 /* Synched up with: FSF 19.30. Split out of frame.h. */ | |
23 | |
24 /* device frame belongs to. */ | |
25 MARKED_SLOT (device); | |
26 | |
27 /* Name of this frame: a Lisp string. | |
28 NOT the same as the frame's title, even though FSF bogusly | |
29 confuses the two. The frame's name is used for resourcing | |
30 and lookup purposes and is something you can count on having | |
31 a specific value, while the frame's title may vary depending | |
32 on the user's choice of `frame-title-format'. */ | |
33 MARKED_SLOT (name); | |
34 | |
35 /* The frame which should receive keystrokes that occur in this | |
36 frame, or nil if they should go to the frame itself. This is | |
37 usually nil, but if the frame is minibufferless, we can use this | |
38 to redirect keystrokes to a surrogate minibuffer frame when | |
39 needed. | |
40 | |
41 Note that a value of nil is different than having the field point | |
42 to the frame itself. Whenever the Fselect_frame function is used | |
43 to shift from one frame to the other, any redirections to the | |
44 original frame are shifted to the newly selected frame; if | |
45 focus_frame is nil, Fselect_frame will leave it alone. */ | |
46 MARKED_SLOT (focus_frame); | |
47 | |
48 /* This frame's root window. Every frame has one. | |
49 If the frame has only a minibuffer window, this is it. | |
50 Otherwise, if the frame has a minibuffer window, this is its sibling. */ | |
51 MARKED_SLOT (root_window); | |
52 | |
53 /* This frame's selected window. | |
54 Each frame has its own window hierarchy | |
55 and one of the windows in it is selected within the frame. | |
56 The selected window of the selected frame is Emacs's selected window. */ | |
57 MARKED_SLOT (selected_window); | |
58 | |
59 /* This frame's minibuffer window. | |
60 Most frames have their own minibuffer windows, | |
61 but only the selected frame's minibuffer window | |
62 can actually appear to exist. */ | |
63 MARKED_SLOT (minibuffer_window); | |
64 | |
65 /* The most recently selected nonminibuf window. | |
66 This is used by things like the toolbar code, which doesn't | |
67 want the toolbar to change when moving to the minibuffer. | |
68 This will only be a minibuf window if we are a minibuf-only | |
69 frame. */ | |
70 MARKED_SLOT (last_nonminibuf_window); | |
71 | |
72 /* frame property list */ | |
73 MARKED_SLOT (plist); | |
74 | |
75 /* A copy of the global Vbuffer_list, to maintain a per-frame buffer | |
76 ordering. The Vbuffer_list variable and the buffer_list slot of each | |
77 frame contain exactly the same data, just in different orders. */ | |
78 MARKED_SLOT (buffer_alist); | |
79 | |
80 /* Predicate for selecting buffers for other-buffer. */ | |
81 MARKED_SLOT (buffer_predicate); | |
82 | |
83 /* The current mouse pointer for the frame. This is set by calling | |
84 `set-frame-pointer'. */ | |
85 MARKED_SLOT (pointer); | |
86 | |
87 /* The current icon for the frame. */ | |
88 MARKED_SLOT (icon); | |
89 | |
90 #ifdef HAVE_MENUBARS | |
91 /* Vector representing the menubar currently displayed. See menubar-x.c. */ | |
92 MARKED_SLOT (menubar_data); | |
93 #endif | |
94 | |
95 /* specifier values cached in the struct frame: */ | |
96 | |
97 #ifdef HAVE_MENUBARS | |
98 MARKED_SLOT (menubar_visible_p); | |
99 #endif | |
100 | |
101 #ifdef HAVE_SCROLLBARS | |
102 /* Width and height of the scrollbars. */ | |
103 MARKED_SLOT (scrollbar_width); | |
104 MARKED_SLOT (scrollbar_height); | |
105 #endif | |
106 | |
107 #ifdef HAVE_TOOLBARS | |
108 /* The following three don't really need to be cached except | |
109 that we need to know when they've changed. */ | |
110 MARKED_SLOT (default_toolbar_width); | |
111 MARKED_SLOT (default_toolbar_height); | |
112 MARKED_SLOT (default_toolbar_visible_p); | |
113 #endif | |
114 | |
115 /* Possible frame-local default for outside margin widths. */ | |
116 MARKED_SLOT (left_margin_width); | |
117 MARKED_SLOT (right_margin_width); |