rackety racket/gui doc

original commit: 26a92b1cfe108133a194d74279305e71ef185488
This commit is contained in:
Matthew Flatt 2010-05-02 11:29:45 -06:00
parent 303b97ad51
commit 6cc4811e19
7 changed files with 17 additions and 17 deletions

View File

@ -5,7 +5,7 @@
@title{Dynamic Loading} @title{Dynamic Loading}
@defmodule[racket/gui/dynamic]{The @racketmodname[racket/gui/dynamic] @defmodule[racket/gui/dynamic]{The @racketmodname[racket/gui/dynamic]
library provides functions for dynamically accessing the PLT Racket library provides functions for dynamically accessing the Racket
GUI toolbox, instead of directly requiring @racket[racket/gui] or GUI toolbox, instead of directly requiring @racket[racket/gui] or
@racket[racket/gui/base].} @racket[racket/gui/base].}
@ -13,8 +13,8 @@ GUI toolbox, instead of directly requiring @racket[racket/gui] or
Returns @racket[#t] if dynamic access to the GUI bindings are Returns @racket[#t] if dynamic access to the GUI bindings are
available---that is, that the program is being run as a available---that is, that the program is being run as a
@exec{mred}-based application, as opposed to a pure GRacket-based application, as opposed to a pure
@exec{mzracket}-based application, and that GUI modules are attached Racket-based application, and that GUI modules are attached
to the namespace in which @racket[racket/gui/dynamic] was to the namespace in which @racket[racket/gui/dynamic] was
instantiated. instantiated.

View File

@ -351,7 +351,7 @@ This procedure is a load handler for use with @scheme[current-load].
The handler recognizes PLT Scheme editor-format files (see The handler recognizes PLT Scheme editor-format files (see
@secref["editorfileformat"]) and decodes them for loading. It is @secref["editorfileformat"]) and decodes them for loading. It is
normally installed as MrEd starts (see @secref[#:doc reference-doc normally installed as GRacket starts (see @secref[#:doc reference-doc
"running-sa"]). "running-sa"]).
The handler recognizes editor files by the first twelve characters of The handler recognizes editor files by the first twelve characters of

View File

@ -360,7 +360,7 @@ Editor data is read and written using @scheme[editor-stream-in%] and
@scheme[write-editor-global-footer]. Similarly, reading editors from @scheme[write-editor-global-footer]. Similarly, reading editors from
a stream is initialized with @scheme[read-editor-global-header] and a stream is initialized with @scheme[read-editor-global-header] and
finalized with @scheme[read-editor-global-footer]. Optionally, to finalized with @scheme[read-editor-global-footer]. Optionally, to
support streams that span versions of PLT Scheme, use support streams that span versions of Racket, use
@scheme[write-editor-version] and @scheme[read-editor-version] before @scheme[write-editor-version] and @scheme[read-editor-version] before
the header operations. the header operations.

View File

@ -1,20 +1,20 @@
#lang scribble/doc #lang scribble/doc
@(require "common.ss") @(require "common.ss")
@title{@bold{GUI}: PLT Graphics Toolkit} @title{@bold{GUI}: Racket Graphics Toolkit}
@author["Matthew Flatt" "Robert Bruce Findler" "John Clements"] @author["Matthew Flatt" "Robert Bruce Findler" "John Clements"]
@declare-exporting[racket/gui/base racket/gui #:use-sources (mred)] @declare-exporting[racket/gui/base racket/gui #:use-sources (mred)]
This reference manual describes the GUI toolbox that is part of PLT This reference manual describes the GUI toolbox that is part of Racket
Racket and whose core is implemented by the MrEd executable. and whose core is implemented by the GRacket executable.
@defmodule*/no-declare[(racket/gui/base)]{The @defmodule*/no-declare[(racket/gui/base)]{The
@racketmodname[racket/gui/base] library provides all of the class, @racketmodname[racket/gui/base] library provides all of the class,
interface, and procedure bindings defined in this manual. At run time, interface, and procedure bindings defined in this manual. At run time,
this library needs primitive graphics support that the MrEd executable this library needs primitive graphics support that the GRacket executable
provides; this library cannot run in MzRacket.} provides; this library cannot run inside the Racket executable.}
@defmodulelang*/no-declare[(racket/gui)]{The @defmodulelang*/no-declare[(racket/gui)]{The
@racketmodname[racket/gui] language combines all bindings of the @racketmodname[racket/gui] language combines all bindings of the

View File

@ -100,7 +100,7 @@ The result depends on @scheme[what], and a @scheme[#f] result is only
@item{@scheme['x-display] returns a ``path'' whose string identifies @item{@scheme['x-display] returns a ``path'' whose string identifies
the X display if specified by either the @Flag{display} flag or the the X display if specified by either the @Flag{display} flag or the
@envvar{DISPLAY} environment variable when MrEd starts under X. For @envvar{DISPLAY} environment variable when GRacket starts under X. For
other platforms, or when neither @Flag{display} nor @envvar{DISPLAY} other platforms, or when neither @Flag{display} nor @envvar{DISPLAY}
was specified, the result is @scheme[#f].} was specified, the result is @scheme[#f].}

View File

@ -4,15 +4,15 @@
@title[#:tag "mredprefs"]{Preferences} @title[#:tag "mredprefs"]{Preferences}
MrEd supports a number of preferences for global configuration. The GRacket supports a number of preferences for global configuration. The
MrEd preferences are stored in the common file reported by GRacket preferences are stored in the common file reported by
@scheme[find-system-path] for @indexed-scheme['pref-file], and @scheme[find-system-path] for @indexed-scheme['pref-file], and
preference values can be retrieved and changed through preference values can be retrieved and changed through
@scheme[get-preference] and @scheme[put-preferences]. However, MrEd @scheme[get-preference] and @scheme[put-preferences]. However, GRacket
reads most preferences once at startup (all except the reads most preferences once at startup (all except the
@Resource{playcmd}). @Resource{playcmd}).
The following are the (case-sensitive) preference names used by MrEd: The following are the (case-sensitive) preference names used by GRacket:
@itemize[ @itemize[
@ -62,7 +62,7 @@ The following are the (case-sensitive) preference names used by MrEd:
command; see @scheme[play-sound] for details.} command; see @scheme[play-sound] for details.}
@item{@ResourceFirst{forceFocus} --- a true value enables extra @item{@ResourceFirst{forceFocus} --- a true value enables extra
effort in MrEd to move the focus to a top-level window that is shown effort in GRacket to move the focus to a top-level window that is shown
or raised.} or raised.}
@item{@ResourceFirst{doubleClickTime} --- overrides the @item{@ResourceFirst{doubleClickTime} --- overrides the

View File

@ -5,7 +5,7 @@
@title[#:tag "windowing-overview"]{Windowing} @title[#:tag "windowing-overview"]{Windowing}
The PLT Scheme windowing toolbox provides the basic building blocks of GUI The Racket windowing toolbox provides the basic building blocks of GUI
programs, including frames (top-level windows), modal dialogs, menus, programs, including frames (top-level windows), modal dialogs, menus,
buttons, check boxes, text fields, and radio buttons. The toolbox buttons, check boxes, text fields, and radio buttons. The toolbox
provides these building blocks via built-in classes, such as the provides these building blocks via built-in classes, such as the