1
function rc = kPsychGUIWindow
2
% kPsychGUIWindow -- Create onscreen windows with behaviour of normal GUI windows.
4
% This flag can be passed to the optional 'specialFlags' parameter of
5
% Screen('OpenWindow', ...) or PsychImaging('OpenWindow', ...).
7
% It will cause the onscreen window to be a "regular" window that mostly
8
% behaves like typical GUI windows on your system. The window will have a
9
% titlebar and title, a border and other decorations. It will have buttons
10
% and handles to allow it to be moved around, resized, minimized or
11
% maximized, hidden and so on. Functions like Screen('Rect'),
12
% Screen('GlobalRect') and Screen('WindowSize') will report the true size
13
% and position of the window after it has been resized or moved around. The
14
% GetMouse() function will optionally report if the window has keyboard
15
% input focus because it is the active foreground window.
17
% Window stacking order, transparency and other window manager interactions
18
% should mostly behave as with other application windows.
20
% Please note that timing precision and timestamp precision for visual
21
% stimulus onset for this mode will not be guaranteed. Performance may be
22
% reduced. Other limitations may apply.
24
% GUI window mode is a "best effort" behaviour, as Psychtoolbox is not
25
% really designed to be - or exactly behave - like a regular GUI toolkit.
28
% This is the numeric constant for GUI window mode: