From cfb4db2aa66c957d32e00e11ea2965f78e1c6daa Mon Sep 17 00:00:00 2001 From: Eduardo Cavazos Date: Sun, 13 Jul 2008 22:26:07 -0500 Subject: [PATCH 1/2] ui.gadgets.packs-docs: remove references to 'gadget,' --- extra/ui/gadgets/packs/packs-docs.factor | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/extra/ui/gadgets/packs/packs-docs.factor b/extra/ui/gadgets/packs/packs-docs.factor index d44c9fa87d..7b87e8c441 100755 --- a/extra/ui/gadgets/packs/packs-docs.factor +++ b/extra/ui/gadgets/packs/packs-docs.factor @@ -13,7 +13,7 @@ ARTICLE: "ui-pack-layout" "Pack layouts" { $subsection make-pile } { $subsection make-filled-pile } { $subsection make-shelf } -{ $subsection gadget, } + "For more control, custom layouts can reuse portions of pack layout logic:" { $subsection pack-pref-dim } { $subsection pack-layout } ; @@ -66,14 +66,14 @@ HELP: pack-pref-dim HELP: make-pile { $values { "quot" quotation } { "pack" "a new " { $link pack } } } -{ $description "Creates a new " { $link pack } " which lays out a sequence of gadgets vertically. The quotation can add children by calling the " { $link gadget, } " word." } ; +{ $description "Creates a new " { $link pack } " which lays out a sequence of gadgets vertically. The quotation can add children by calling the gadget, word." } ; HELP: make-filled-pile { $values { "quot" quotation } { "pack" "a new " { $link pack } } } -{ $description "Creates a new " { $link pack } " which lays out a sequence of gadgets vertically, such that all gadgets have the same width. The quotation can add children by calling the " { $link gadget, } " word." } ; +{ $description "Creates a new " { $link pack } " which lays out a sequence of gadgets vertically, such that all gadgets have the same width. The quotation can add children by calling the gadget, word." } ; HELP: make-shelf { $values { "quot" quotation } { "pack" "a new " { $link pack } } } -{ $description "Creates a new " { $link pack } " which lays out a sequence of gadgets horizontally. The quotation can add children by calling the " { $link gadget, } " word." } ; +{ $description "Creates a new " { $link pack } " which lays out a sequence of gadgets horizontally. The quotation can add children by calling the gadget, word." } ; ABOUT: "ui-pack-layout" From e9bcc9bd31bef862b27f3007508c816bbc0fc0d1 Mon Sep 17 00:00:00 2001 From: Eduardo Cavazos Date: Sun, 13 Jul 2008 22:43:51 -0500 Subject: [PATCH 2/2] ui-docs: remove reference to gadget, --- extra/ui/ui-docs.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/ui/ui-docs.factor b/extra/ui/ui-docs.factor index 72cb2c557e..172c57061c 100755 --- a/extra/ui/ui-docs.factor +++ b/extra/ui/ui-docs.factor @@ -235,7 +235,7 @@ $nl $nl "Gadget construction combinators whose names are prefixed with " { $snippet "make-" } " construct new gadgets and push them on the stack. The primitive combinator used to define all combinators of this form:" { $subsection make-gadget } -"Words such as " { $link gadget, } " and " { $link track, } " access the gadget through the " { $link gadget } " variable." +"Words such as " { $link track, } " access the gadget through the " { $link gadget } " variable." $nl "A combinator which stores a gadget in the " { $link gadget } " variable:" { $subsection with-gadget }