Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstdwin.tex @ 10703:e4e800a78d8d legacy-trunk
Make internal module references hyperlinks wherever it makes sense.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Thu, 22 Apr 1999 21:23:22 +0000 |
| parents | 7ee1e3134147 |
| children | 42698f345bd3 |
line wrap: on
line diff
--- a/Doc/lib/libstdwin.tex Thu Apr 22 21:19:53 1999 +0000 +++ b/Doc/lib/libstdwin.tex Thu Apr 22 21:23:22 1999 +0000 @@ -14,11 +14,12 @@ under X11, Win32 for Windows and Windows NT, and a collection of native toolkit interfaces for the Macintosh. + \section{\module{stdwin} --- Platform-independent GUI System} + \declaremodule{builtin}{stdwin} - -\modulesynopsis{Older GUI system for X11 and Macintosh} +\modulesynopsis{Older GUI system for X11 and Macintosh.} This module defines several new object types and functions that @@ -57,7 +58,7 @@ if it applies to no window in particular; the third element is type-dependent. Names for event types and command codes are defined in the standard -module \module{stdwinevent}. +module \refmodule{stdwinevents}. \end{funcdesc} \begin{funcdesc}{pollevent}{} @@ -232,7 +233,7 @@ \begin{funcdesc}{getselection}{i} Return X11 selection number \var{i.} Selections are not cut buffers. -Selection numbers are defined in module \module{stdwinevents}. +Selection numbers are defined in module \refmodule{stdwinevents}. Selection \constant{WS_PRIMARY} is the \dfn{primary} selection (used by \program{xterm}, for instance); selection \constant{WS_SECONDARY} is the \dfn{secondary} selection; selection \constant{WS_CLIPBOARD} is @@ -624,7 +625,7 @@ Pass an arrow event to the text-edit block. The \var{code} must be one of \constant{WC_LEFT}, \constant{WC_RIGHT}, \constant{WC_UP} or \constant{WC_DOWN} (see module -\module{stdwinevents}). +\refmodule{stdwinevents}). \end{methoddesc} \begin{methoddesc}[text-edit]{draw}{rect} @@ -717,10 +718,11 @@ main() \end{verbatim} + \section{\module{stdwinevents} --- Constants for use with \module{stdwin}} + \declaremodule{standard}{stdwinevents} - \modulesynopsis{Constant definitions for use with \module{stdwin}} @@ -735,15 +737,17 @@ >>> \end{verbatim} + \section{\module{rect} --- Functions for use with \module{stdwin}} + \declaremodule{standard}{rect} - -\modulesynopsis{Geometry-related utility function for use with \module{stdwin}} +\modulesynopsis{Geometry-related utility function for use with + \module{stdwin}.} This module contains useful operations on rectangles. -A rectangle is defined as in module \module{stdwin}: +A rectangle is defined as in module \refmodule{stdwin}: a pair of points, where a point is a pair of integers. For example, the rectangle @@ -753,7 +757,7 @@ is a rectangle whose left, top, right and bottom edges are 10, 20, 90 and 80, respectively. Note that the positive vertical axis points -down (as in \module{stdwin}). +down (as in \refmodule{stdwin}). The module defines the following objects:
