To use the functions described in this section, you will need to load
the (gschem window) module.
— Function: active-page
Returns the page currently being displayed for editing.
— Function: set-active-page! page
Sets the current page to page.
— Function: pointer-position
Returns the current mouse pointer position in world coordinates in the
form ‘(x . y)’. If the pointer is outside the display area,
returns ‘#f’.
— Function: snap-point point
Snaps the given point to the current snap grid, i.e. returns the
closest grid location to point. Expects a point in the form
‘(x . y)’, and returns a point in the same format.