Small typos, some reformatting.

Fixes PR10920

original commit: c4f67b3e747c1312459737d5ada8dc1b96b1864c
This commit is contained in:
Eli Barzilay 2010-05-21 16:30:16 -04:00
parent 8f804e752d
commit b4beb0c44c
2 changed files with 15 additions and 45 deletions

View File

@ -14,8 +14,7 @@
@title{Miscellaneous} @title{Miscellaneous}
@defproc[(begin-busy-cursor) @defproc[(begin-busy-cursor) void?]{
void?]{
Changes the cursor to a watch cursor for all windows in the current eventspace. Changes the cursor to a watch cursor for all windows in the current eventspace.
Use Use
@ -27,30 +26,15 @@ The cursor installed by
@scheme[begin-busy-cursor] overrides any window-specific cursors installed with @scheme[begin-busy-cursor] overrides any window-specific cursors installed with
@method[window<%> set-cursor]. @method[window<%> set-cursor].
See also See also @scheme[is-busy?].
@scheme[is-busy?].
} }
@defproc[(bell) @defproc[(bell) void?]{
void?]{
Rings the system bell. Rings the system bell.
} }
@defproc[(end-busy-cursor) @defproc[(end-busy-cursor) void?]{
void?]{ See @scheme[begin-busy-cursor].
See
@scheme[begin-busy-cursor].
} }
@defproc*[([(file-creator-and-type [filename path] @defproc*[([(file-creator-and-type [filename path]
@ -234,12 +218,9 @@ The keymap for the read-eval-print loop's editor is initialized by
calling the current keymap initializer procedure, which is determined calling the current keymap initializer procedure, which is determined
by the by the
@scheme[current-text-keymap-initializer] parameter. @scheme[current-text-keymap-initializer] parameter.
} }
@defproc[(textual-read-eval-print-loop) @defproc[(textual-read-eval-print-loop) void?]{
void?]{
Similar to @scheme[read-eval-print-loop], except that evaluation uses Similar to @scheme[read-eval-print-loop], except that evaluation uses
a newly created eventspace. a newly created eventspace.
@ -259,30 +240,21 @@ break is sent (via @scheme[break-thread]) to the created eventspace's
@tech{handler thread}.} @tech{handler thread}.}
@defproc[(hide-cursor-until-moved) @defproc[(hide-cursor-until-moved) void?]{
void?]{
Hides the cursor until the user moves the mouse or clicks the mouse Hides the cursor until the user moves the mouse or clicks the mouse
button. (For some platforms, the cursor is not hidden if it is over button. (For some platforms, the cursor is not hidden if it is over
a window in a different eventspace or application.) a window in a different eventspace or application.)
} }
@defproc[(is-busy?) @defproc[(is-busy?) boolean?]{
boolean?]{
Returns @scheme[#t] if a busy cursor has been installed with Returns @scheme[#t] if a busy cursor has been installed with
@scheme[begin-busy-cursor] and not removed with @scheme[begin-busy-cursor] and not removed with
@scheme[end-busy-cursor]. @scheme[end-busy-cursor].
} }
@defproc[(label->plain-label [label string]) @defproc[(label->plain-label [label string]) string?]{
string]{
Strips shortcut ampersands from @scheme[label], removes parenthesized Strips shortcut ampersands from @scheme[label], removes parenthesized
ampersand--character combinations along with any surrounding space, ampersand--character combinations along with any surrounding space,
@ -292,15 +264,13 @@ Strips shortcut ampersands from @scheme[label], removes parenthesized
} }
@defproc[(make-gui-empty-namespace) @defproc[(make-gui-empty-namespace) namespace?]{
namespace?]{
Like @scheme[make-base-empty-namespace], but with Like @scheme[make-base-empty-namespace], but with
@scheme[scheme/class] and @schememodname[scheme/gui/base] also @scheme[scheme/class] and @schememodname[scheme/gui/base] also
attached to the result namespace.} attached to the result namespace.}
@defproc[(make-gui-namespace) @defproc[(make-gui-namespace) namespace?]{
namespace?]{
Like @scheme[make-base-namespace], but with @scheme[scheme/class] and Like @scheme[make-base-namespace], but with @scheme[scheme/class] and
@schememodname[scheme/gui/base] also required into the top-level @schememodname[scheme/gui/base] also required into the top-level