Appendix B


© 1995, 1996, 1997 Gregg M. Townsend, Ralph E. Griswold, and Clinton L. Jeffery

Graphics Keywords


&col : i -- mouse column

The value of &colnormally is the column location of the mouse at the time of the last received window event. If a window is open, &col may also be changed by assignment, which also affects &x, or as a side effect of assignment to &x.


&control : n -- state of control key during window event

The value of &control is the null value if the control key was depressed at the time of the last received window event; otherwise, a reference to &control fails.


&interval : i -- elapsed time between window events

The value of &interval is the time, in milliseconds, between the last received window event and the previous event in that window. &interval is zero if this information is not available.


&ldrag : i -- left-button drag event

The value of &ldrag is the integer that represents the event of dragging the mouse with the left button depressed.


&lpress : i -- left-button press event

The value of &lpress is the integer that represents the event of pressing the left mouse button.


&lrelease : i -- left-button release event

The value of &lrelease is the integer that represents the event of releasing the left mouse button.


&mdrag : i -- middle-button drag event

The value of &mdrag is the integer that represents the event of dragging the mouse with the middle button depressed.


&meta : n -- state of meta key during window event

The value of &meta is the null value if the meta key was depressed at the time of the last received window event; otherwise, a reference to &meta fails.


&mpress : i -- middle-button press event

The value of &mpress is the integer that represents the event of pressing the middle mouse button.


&mrelease : i -- middle-button release event

The value of &mrelease is the integer that represents the event of releasing the middle mouse button.


&rdrag : i -- right-button drag event

The value of &rdrag is the integer that represents the event of dragging the mouse with the right button depressed.


&resize : i -- window resize event

The value of &resize is the integer that represents a window resizing event.


&row : i -- mouse row location

The value of &row is normally the column location of the mouse at the time of the last received window event. If a window is open, &row may also be changed by assignment, which also affects &y, or as a side effect of assignment to &y.


&rpress : i -- right-button press event

The value of &rpress is the integer that represents the event of pressing the right mouse button.


&rrelease : i -- right-button release event

The value of &rrelease is the integer that represents the event of releasing the right mouse button.


&shift : n -- state of shift key during window event

The value of &shift is the null value if the shift key was depressed at the time of the last received window event; otherwise, a reference to &shift fails.


&window : W -- subject window

The value of &window is the subject window, the default window for most graphics procedures. It may be changed by assignment. If there is no subject window, &window is null.


&x : i -- mouse x-coordinate

The value of &x is normally the x-coordinate of the mouse at the time of the last received window event. If a window is open, &x may also be changed by assignment, which also affects &col, or as a side effect of assignment to &col.


&y : i -- mouse y-coordinate

The value of &y is normally the y-coordinate of the mouse at the time of the last received window event. If a window is open, &y may also be changed by assignment, which also affects &row, or as a side effect of assignment to &row.



Back to Contents