Skip to content

Commit 28469c3

Browse files
committed
doc: refill some paragraphs
1 parent 4bd0523 commit 28469c3

File tree

3 files changed

+22
-20
lines changed

3 files changed

+22
-20
lines changed

gui-easy/gui/easy/scribblings/gui-easy.scrbl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
@title{@tt{gui-easy}: Declarative GUIs}
1212
@author[(author+email "Bogdan Popa" "[email protected]")]
1313

14-
The goal of GUI Easy is to simplify user interface construction in Racket
15-
by wrapping the existing imperative API (@racketmodname[racket/gui]) in a functional shell.
14+
The goal of GUI Easy is to simplify user interface
15+
construction in Racket by wrapping the existing imperative API
16+
(@racketmodname[racket/gui]) in a functional shell.
1617

1718
@(define-runtime-path youtubestub.tex "youtubestub.tex")
1819
@(define embed-style

gui-easy/gui/easy/scribblings/quickstart.scrbl

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@
1212
gui-easy can be broadly split up into two parts: observables and views.
1313

1414
Observables contain values and notify subscribed observers of changes to
15-
their contents. Views are representations of Racket GUI widget trees
16-
that, when rendered, produce concrete instances of those trees and handle
17-
the details of wiring state and widgets together.
15+
their contents. Views are representations of @racketmodname[racket/gui]
16+
widget trees that, when rendered, produce concrete instances of those
17+
trees and handle the details of wiring state and widgets together.
1818

19-
The core abstractions of observables and views correspond to a model-view-controller
20-
(MVC) architecture for graphical applications as popularized by Smalltalk-80.
19+
The core abstractions of observables and views correspond to a
20+
model-view-controller (MVC) architecture for graphical applications as
21+
popularized by Smalltalk-80.
2122

2223
@section{Hello, World!}
2324

gui-easy/gui/easy/scribblings/reference.scrbl

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@
1919
(link "https://github.com/Bogdanp/racket-gui-easy/blob/master/examples/list.rkt"
2020
@filepath{examples/list.rkt}))
2121

22-
23-
24-
2522
@title{Reference}
2623
@defmodule[racket/gui/easy]
2724

@@ -75,18 +72,21 @@
7572

7673
@section{Views}
7774

78-
@deftech{View}s are functions that return a @racket[view<%>] instance.
75+
@deftech{Views} are functions that return a @racket[view<%>] instance.
7976

80-
Views might wrap a specific GUI widget, like a text message or button, or
81-
they might construct a tree of smaller views, forming a larger component.
77+
Views might wrap a specific GUI widget, like a text message or button,
78+
or they might construct a tree of smaller views, forming a larger
79+
component.
8280

83-
Views are typically @tech{Observable}-aware in ways that make sense for each individual view.
84-
For instance the text view takes as input an observable string and the rendered text label updates
85-
with changes to that observable.
81+
Views are typically @tech{Observable}-aware in ways that make sense
82+
for each individual view. For instance the text view takes as input an
83+
observable string and the rendered text label updates with changes to
84+
that observable.
8685

87-
Many @racketmodname[racket/gui] widgets are already wrapped by GUI Easy, but programmers can
88-
implement the @racket[view<%>] interface themselves in order to integrate arbitrary widgets, such as
89-
those from 3rd-party packages in the Racket ecosystem, into their projects.
86+
Many @racketmodname[racket/gui] widgets are already wrapped by GUI Easy,
87+
but programmers can implement the @racket[view<%>] interface themselves
88+
in order to integrate arbitrary widgets, such as those from 3rd-party
89+
packages in the Racket ecosystem, into their projects.
9090

9191
@subsection[#:tag "windows&dialogs"]{Windows & Dialogs}
9292

@@ -842,7 +842,7 @@ those from 3rd-party packages in the Racket ecosystem, into their projects.
842842

843843
@section{Observables}
844844

845-
@deftech{Observable}s are containers for values that may change over
845+
@deftech{Observables} are containers for values that may change over
846846
time. Their changes may be observed by arbitrary functions.
847847

848848
@; Require the private module to avoid requiring racket/gui/base.

0 commit comments

Comments
 (0)