rackety racket/gui doc
original commit: 26a92b1cfe108133a194d74279305e71ef185488
This commit is contained in:
parent
303b97ad51
commit
6cc4811e19
|
@ -5,7 +5,7 @@
|
|||
@title{Dynamic Loading}
|
||||
|
||||
@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
|
||||
@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
|
||||
available---that is, that the program is being run as a
|
||||
@exec{mred}-based application, as opposed to a pure
|
||||
@exec{mzracket}-based application, and that GUI modules are attached
|
||||
GRacket-based application, as opposed to a pure
|
||||
Racket-based application, and that GUI modules are attached
|
||||
to the namespace in which @racket[racket/gui/dynamic] was
|
||||
instantiated.
|
||||
|
||||
|
|
|
@ -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
|
||||
@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"]).
|
||||
|
||||
The handler recognizes editor files by the first twelve characters of
|
||||
|
|
|
@ -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
|
||||
a stream is initialized with @scheme[read-editor-global-header] and
|
||||
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
|
||||
the header operations.
|
||||
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
#lang scribble/doc
|
||||
@(require "common.ss")
|
||||
|
||||
@title{@bold{GUI}: PLT Graphics Toolkit}
|
||||
@title{@bold{GUI}: Racket Graphics Toolkit}
|
||||
|
||||
@author["Matthew Flatt" "Robert Bruce Findler" "John Clements"]
|
||||
|
||||
@declare-exporting[racket/gui/base racket/gui #:use-sources (mred)]
|
||||
|
||||
This reference manual describes the GUI toolbox that is part of PLT
|
||||
Racket and whose core is implemented by the MrEd executable.
|
||||
This reference manual describes the GUI toolbox that is part of Racket
|
||||
and whose core is implemented by the GRacket executable.
|
||||
|
||||
@defmodule*/no-declare[(racket/gui/base)]{The
|
||||
@racketmodname[racket/gui/base] library provides all of the class,
|
||||
interface, and procedure bindings defined in this manual. At run time,
|
||||
this library needs primitive graphics support that the MrEd executable
|
||||
provides; this library cannot run in MzRacket.}
|
||||
this library needs primitive graphics support that the GRacket executable
|
||||
provides; this library cannot run inside the Racket executable.}
|
||||
|
||||
@defmodulelang*/no-declare[(racket/gui)]{The
|
||||
@racketmodname[racket/gui] language combines all bindings of the
|
||||
|
|
|
@ -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
|
||||
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}
|
||||
was specified, the result is @scheme[#f].}
|
||||
|
||||
|
|
|
@ -4,15 +4,15 @@
|
|||
|
||||
@title[#:tag "mredprefs"]{Preferences}
|
||||
|
||||
MrEd supports a number of preferences for global configuration. The
|
||||
MrEd preferences are stored in the common file reported by
|
||||
GRacket supports a number of preferences for global configuration. The
|
||||
GRacket preferences are stored in the common file reported by
|
||||
@scheme[find-system-path] for @indexed-scheme['pref-file], and
|
||||
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
|
||||
@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[
|
||||
|
||||
|
@ -62,7 +62,7 @@ The following are the (case-sensitive) preference names used by MrEd:
|
|||
command; see @scheme[play-sound] for details.}
|
||||
|
||||
@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.}
|
||||
|
||||
@item{@ResourceFirst{doubleClickTime} --- overrides the
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
@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,
|
||||
buttons, check boxes, text fields, and radio buttons. The toolbox
|
||||
provides these building blocks via built-in classes, such as the
|
||||
|
|
Loading…
Reference in New Issue
Block a user