Next: Prompt Line
Up: Control Functions
Previous: Libraries
Contents
Index
- Mode(window, mode)
This function switches Xic between physical and electrical modes,
or switches subwindows between the two viewing modes. The first
argument is an integer 0-4, where 0 represents the main window, in
which case the application mode is set, and 1-4 represent the
subwindows, in which case the viewing mode of that subwindow is set.
The subwindow number is the same number as shown in the window title
bar. The second argument is 0 for physical mode, nonzero for
electrical mode. The return value is the new mode setting (0 or 1) or
-1 if the indicated subwindow is not active.
- (int) CurMode(window)
This function returns the current mode (physical or electrical) of the
main window or subwindows. The argument is an integer 0-4 where 0
represents the main window (and the application mode) and 1-4
represent subwindow viewing modes. The return value is 0 for physical
mode, 1 for electrical mode, or -1 if the indicated subwindow does not
exist. This function is identical to GetWindowMode.
Next: Prompt Line
Up: Control Functions
Previous: Libraries
Contents
Index
Stephen R. Whiteley
2006-10-23