API  0.9.7
 All Classes Files Functions Variables Macros Groups Pages
CPWindow_Constants.j
Go to the documentation of this file.
1 /*
2  * CPWindow_Constants.j
3  * AppKit
4  *
5  * Created by Francisco Tolmasky.
6  * Copyright 2008, 280 North, Inc.
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2.1 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21  */
22 
23 /*
24  Borderless window mask option.
25  @global
26  @class CPWindow
27 */
29 /*
30  Titled window mask option.
31  @global
32  @class CPWindow
33 */
35 /*
36  Closeable window mask option.
37  @global
38  @class CPWindow
39 */
41 /*
42  Miniaturizabe window mask option.
43  @global
44  @class CPWindow
45 */
47 /*
48  Resizable window mask option.
49  @global
50  @class CPWindow
51 */
53 /*
54  Textured window mask option.
55  @global
56  @class CPWindow
57 */
59 /*
60  @global
61  @class CPWindow
62 */
64 /*
65  @global
66  @class CPWindow
67 */
69 
74 _CPModalWindowMask = 1 << 22;
75 
83 
85 /*
86  Default level for windows
87  @group CPWindowLevel
88  @global
89 */
91 /*
92  Floating palette type window
93  @group CPWindowLevel
94  @global
95 */
97 /*
98  Submenu type window
99  @group CPWindowLevel
100  @global
101 */
103 /*
104  For a torn-off menu
105  @group CPWindowLevel
106  @global
107 */
109 /*
110  For the application's main menu
111  @group CPWindowLevel
112  @global
113 */
115 /*
116  Status window level
117  @group CPWindowLevel
118  @global
119 */
121 /*
122  Level for a modal panel
123  @group CPWindowLevel
124  @global
125 */
127 /*
128  Level for a pop up menu
129  @group CPWindowLevel
130  @global
131 */
133 /*
134  Level for a window being dragged
135  @group CPWindowLevel
136  @global
137 */
139 /*
140  Level for the screens saver
141  @group CPWindowLevel
142  @global
143 */
145 
146 /*
147  The receiver is placed directly in front of the window specified.
148  @global
149  @class CPWindowOrderingMode
150 */
152 /*
153  The receiver is placed directly behind the window specified.
154  @global
155  @class CPWindowOrderingMode
156 */
158 /*
159  The receiver is removed from the screen list and hidden.
160  @global
161  @class CPWindowOrderingMode
162 */
164 
165 CPWindowWillCloseNotification = @"CPWindowWillCloseNotification";
166 CPWindowDidBecomeMainNotification = @"CPWindowDidBecomeMainNotification";
167 CPWindowDidResignMainNotification = @"CPWindowDidResignMainNotification";
168 CPWindowDidBecomeKeyNotification = @"CPWindowDidBecomeKeyNotification";
169 CPWindowDidResignKeyNotification = @"CPWindowDidResignKeyNotification";
170 CPWindowDidResizeNotification = @"CPWindowDidResizeNotification";
171 CPWindowDidMoveNotification = @"CPWindowDidMoveNotification";
172 CPWindowWillBeginSheetNotification = @"CPWindowWillBeginSheetNotification";
173 CPWindowDidEndSheetNotification = @"CPWindowDidEndSheetNotification";
174 CPWindowDidMiniaturizeNotification = @"CPWindowDidMiniaturizeNotification";
175 CPWindowWillMiniaturizeNotification = @"CPWindowWillMiniaturizeNotification";
176 CPWindowDidDeminiaturizeNotification = @"CPWindowDidDeminiaturizeNotification";
177 
178 _CPWindowDidChangeFirstResponderNotification = @"_CPWindowDidChangeFirstResponderNotification";
179 
183 
187 
192 
197