/usr/share/psychtoolbox-3/PsychOneliners/kPsychGUIWindow.m is in psychtoolbox-3-common 3.0.11.20131230.dfsg1-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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;
|