disable_windows
ret=disable_windows (disable[, xid])
Disables or re-enables user input from all windows (optionally skipping one window).
• disable — Boolean. When true, user input from all windows is disabled. When false, user input is enabled.
• xid — The native window system window handle (as would be returned by the function window_xid) of a window to be skipped. If xid is omitted or invalid, all windows are affected by disable_windows.
|
Use this function with extreme care. An application should only disable all windows if it has an alternative method of communicating with Arbortext Editor (for example, as when Arbortext Editor is acting as a server).
|
The call disable_windows(1) is equivalent to set userinput=off, and disable_windows(0) is equivalent to set userinput=on.
Related Topics