File: kPsychGUIWindow.m

package info (click to toggle)
psychtoolbox-3 3.0.19.14.dfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 86,796 kB
  • sloc: ansic: 176,245; cpp: 20,103; objc: 5,393; sh: 2,753; python: 1,397; php: 384; makefile: 193; java: 113
file content (31 lines) | stat: -rw-r--r-- 1,426 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
function rc = kPsychGUIWindow
% kPsychGUIWindow -- Create onscreen windows with behaviour of normal GUI windows.
%
% This flag can be passed to the optional 'specialFlags' parameter of
% Screen('OpenWindow', ...) or PsychImaging('OpenWindow', ...).
%
% It will cause the onscreen window to be a "regular" window that mostly
% behaves like typical GUI windows on your system. The window will have a
% titlebar and title, a border and other decorations. It will have buttons
% and handles to allow it to be moved around, resized, minimized or
% maximized, hidden and so on. Functions like Screen('Rect'),
% Screen('GlobalRect') and Screen('WindowSize') will report the true size
% and position of the window after it has been resized or moved around. The
% GetMouse() function will optionally report if the window has keyboard
% input focus because it is the active foreground window.
%
% Window stacking order, transparency and other window manager interactions
% should mostly behave as with other application windows.
%
% Please note that timing precision and timestamp precision for visual
% stimulus onset for this mode will not be guaranteed. Performance may be
% reduced. Other limitations may apply.
%
% GUI window mode is a "best effort" behaviour, as Psychtoolbox is not
% really designed to be - or exactly behave - like a regular GUI toolkit.
%

% This is the numeric constant for GUI window mode:
rc = 32;

return;