[mcclim-cvs] CVS mcclim/Doc

thenriksen thenriksen at common-lisp.net
Tue Nov 14 18:44:27 UTC 2006


Update of /project/mcclim/cvsroot/mcclim/Doc
In directory clnet:/tmp/cvs-serv27277

Modified Files:
	Makefile mcclim.texi 
Added Files:
	drei.texi 
Log Message:
Added preliminary Drei documentation.


--- /project/mcclim/cvsroot/mcclim/Doc/Makefile	2006/11/11 15:33:21	1.4
+++ /project/mcclim/cvsroot/mcclim/Doc/Makefile	2006/11/14 18:44:27	1.5
@@ -9,7 +9,7 @@
 inspect-object-2.eps inspect-object-3.eps native.fig
 IMAGETARGETTYPES=gif png eps
 TARGETIMAGES=$(shell sh ./makeimages.sh -e "$(IMAGES)" "$(IMAGETARGETTYPES)")
-TEXIFILES=$(NAME).texi
+TEXIFILES=$(NAME).texi drei.texi
 
 all : $(NAME).ps $(NAME2).ps
 
@@ -31,7 +31,7 @@
 	sh ./makeimages.sh "$(IMAGES)" "$(IMAGETARGETTYPES)"
 
 $(NAME).html: $(TEXIFILES)
-	makeinfo --html $<
+	makeinfo --html $(NAME).texi
 
 $(NAME).ps: $(NAME).dvi
 	dvips $< -o
--- /project/mcclim/cvsroot/mcclim/Doc/mcclim.texi	2006/11/11 15:33:21	1.1
+++ /project/mcclim/cvsroot/mcclim/Doc/mcclim.texi	2006/11/14 18:44:27	1.2
@@ -43,11 +43,6 @@
 @cindex \ENTRY\
 @end macro
 
- at macro func{NAME}
- at t{\NAME\}
- at findex \NAME\
- at end macro
-
 @macro fmacro{MACRO}
 @func{\MACRO\}
 @end macro
@@ -57,15 +52,15 @@
 @end macro
 
 @alias gloss = i
- at alias class = t
- at alias gadget = t
- at alias pane = t
- at alias initarg = t
+ at alias class = code
+ at alias package = code
+ at alias gadget = code
+ at alias pane = code
 @alias methcomp = t
- at alias slot = t
+ at alias slot = code
 @alias longref = t
- at alias cl = t
- at alias initarg = t
+ at alias cl = code
+ at alias initarg = code
 
 @ifnottex
 @node Top
@@ -77,45 +72,47 @@
 * Introduction::
 
 Getting started
-* CLIM Demos and Applications:: 
-* The First Application:: 
+* CLIM Demos and Applications::
+* The First Application::
 * Using presentation types::
 
-User Manual 
-* Using views:: 
+User Manual
+* Using views::
 * Using command tables::
 
 Reference Manual
-* Concepts:: 
-* Windowing system drawing functions:: 
-* CLIM drawing functions:: 
-* Panes:: 
-* Output Protocol:: 
+* Concepts::
+* Windowing system drawing functions::
+* CLIM drawing functions::
+* Panes::
+* Output Protocol::
 * Command Processing::
 
 Extensions
-* Output Protocol Extensions:: 
-* Output Recording Extensions:: 
+* Output Protocol Extensions::
+* Output Recording Extensions::
 * Drawing Two-Dimensional Images::
 * File Selector Gadget::
 * PostScript Backend::
+* Drei::
 
-Utility Programs 
-* Listener:: 
+Utility Programs
+* Listener::
 * Inspector::
 
-Auxilliary Material 
+Auxilliary Material
 * Glossary::
 * Development History::
 
 Index
 * Concept Index::
+* Variable Index::
 * Function Index::
 @end menu
 
 @node Introduction
 @chapter Introduction
- at cindex Ehtoota
+ at cindex ehtoota
 
 CLIM is a large layered software system that allows the user to
 customize it at each level.  The most simple ways of using CLIM is to
@@ -154,7 +151,7 @@
 often clearer than the official specification; on the other hand, the
 original specification is a useful reference. This manual will note
 where McCLIM has followed the 2.2 API.
- at cindex Specification
+ at cindex specification
 
 Also, some protocols mentioned in the 2.0 specification, such as parts
 of the incremental redisplay protocol, are clearly internal to CLIM and
@@ -175,10 +172,10 @@
 with objects of the application.  In fact, CLIM doesn't have to be used
 with graphics output at all, as it contains a large collection of
 functionality to manage text.
- at cindex Interface manager
+ at cindex interface manager
 
 Traditional GUI toolkits have an @emph{event loop}.
- at cindex Event loop
+ at cindex event loop
 Events are delivered to GUI elements called @emph{gadgets} (or
 @emph{widgets}), and the programmer attaches @emph{event handlers} to
 those gadgets in order to invoke the functionality of the application
@@ -191,8 +188,8 @@
 
 At the lowest level, CLIM also has an event loop, but most application
 programmers never have any reason to program at that level with CLIM.
-Instead, CLIM has a @emph{command loop} 
- at cindex Command loop
+Instead, CLIM has a @emph{command loop}
+ at cindex command loop
 at a much higher level than the event loop.  At each iteration of the
 command loop:
 
@@ -248,7 +245,7 @@
 
 @node CLIM Demos and Applications
 @chapter CLIM Demos and Applications
- at cindex Demo applications
+ at cindex demo applications
 
 @menu
 * Running the Demos::
@@ -376,7 +373,7 @@
 
 @node Multiprocessing with CMUCL
 @subsection Multiprocessing with CMUCL
- at cindex Multiprocessing
+ at cindex multiprocessing
 
 Before beginning a McCLIM session with CMUCL, @b{you are strongly
 advised} to initialize multiprocessing by evaluating the form:
@@ -411,8 +408,8 @@
 
 @node The First Application
 @chapter The First Application
- at cindex Building an application
- at cindex Writing an application
+ at cindex building an application
+ at cindex writing an application
 
 @menu
 * Panes and Gadgets::
@@ -433,8 +430,8 @@
 CLIM gadgets are @gadget{button}s, @gadget{slider}s, etc, and typical
 panes are the layout panes such as @pane{hbox}, @pane{vbox},
 @pane{hrack}, etc.
- at cindex Pane
- at cindex Gadget
+ at cindex pane
+ at cindex gadget
 
 @node Defining Application Frames
 @section Defining Application Frames
@@ -447,7 +444,7 @@
 your application-specific data in slots in the application frame (rather
 than, say, in global variables), and to define your application-specific
 application frame in its own package.
- at cindex Application frame
+ at cindex application frame
 
 The usual way to define an application frame is to use the macro
 @fmacro{define-application-frame}.  This macro works much like
@@ -468,11 +465,12 @@
 package, here a package named @t{APP}.  While not required, putting the
 application in its own package is good practice.
 
-The package for the application uses two packages: @t{CLIM} and
- at t{CLIM-LISP}.  The @t{CLIM} package is the one that contains all the
-symbols needed for using CLIM.  The @t{CLIM-LISP} package replaces the
- at t{COMMON-LISP} package for CLIM applications.  It is essentially the
-same as the @t{COMMON-LISP} package as far as the user is concerned.
+The package for the application uses two packages: @package{CLIM} and
+ at package{CLIM-LISP}.  The @package{CLIM} package is the one that
+contains all the symbols needed for using CLIM.  The @package{CLIM-LISP}
+package replaces the @package{COMMON-LISP} package for CLIM
+applications.  It is essentially the same as the @package{COMMON-LISP}
+package as far as the user is concerned.
 
 In our example, we export the symbol that corresponds to the main
 function to start our application, here called @t{APP-MAIN}.
@@ -493,8 +491,10 @@
 frame.  These slots are typically used for holding all
 application-specific data.  The current instance of the application
 frame will always be the value of the special variable
- at t{*application-frame*}, so that the values of these slots can be
-accessed.  In our example, we do not initially have any further slots.
+ at t{*application-frame*},
+ at vindex *application-frame*
+so that the values of these slots can be accessed.  In our example, we
+do not initially have any further slots.
 
 The rest of the definition of an application frame contains additional
 elements that CLIM will allow the user to define.  In our example, we
@@ -555,8 +555,8 @@
 With the option @t{:display-time nil}, the pane is never cleared, and
 output is accumulated every time we execute the @t{parity} command.
 
-For this example, let us also add a few @emph{commands}.  
- at cindex Command
+For this example, let us also add a few @emph{commands}.
+ at cindex command
 Such commands are defined by the use of a macro called
 @fmacro{@t{define-}@i{name}@t{-command}}, where @i{name} is the name of
 the application, in our case @t{superapp}. This macro is automatically
@@ -617,7 +617,7 @@
 at all times, and that is modified by the commands of the application.
 CLIM allows for a very easy way to write such an application.  The main
 idea is to store the data structure in slots of the application frame,
-and to use a @emph{display function} 
+and to use a @emph{display function}
 @cindex display function
 that after each iteration of the command loop displays the entire data
 structure to the application pane.
@@ -630,7 +630,7 @@
 @end lisp
 
 Here, we have added a slot that is called @t{current-number} to the
-application frame.  It is initialized to @t{NIL} and it has an accessor
+application frame.  It is initialized to @cl{NIL} and it has an accessor
 function that allow us to query and to modify the value.
 
 Observe that in this example, we no longer have the option
@@ -655,7 +655,7 @@
 that will result in output.  This makes it possible for the same
 function to be used by several different frames, should that be called
 for.  In our simple example, the display function only displays the
-value of a single number (or @t{NIL}), but you could think of this as
+value of a single number (or @cl{NIL}), but you could think of this as
 displaying all the objects that have been drawn in some figure drawing
 program or displaying all the entries in an address book.
 
@@ -730,7 +730,7 @@
 
 @node Using presentation types
 @chapter Using presentation types
- at cindex Presentation type
+ at cindex presentation type
 
 @menu
 * What is a presentation type::
@@ -811,7 +811,7 @@
 
 @node Using views
 @chapter Using views
- at cindex View
+ at cindex view
 
 The CLIM specification mentions a concept called a @emph{view}, and also
 lists a number of predefined views to be used in various different
@@ -877,7 +877,7 @@
 
 @node Using command tables
 @chapter Using command tables
- at cindex Command table
+ at cindex command table
 
 (to be filled in)
 
@@ -900,17 +900,17 @@
 
 The coordinate system used for the arguments of drawing functions is
 called the @gloss{user coordinate system},
- at cindex User coordinate system
+ at cindex user coordinate system
  and coordinate values expressed in the user coordinate system are known
 as @gloss{user coordinates}.
- at cindex User coordinates
+ at cindex user coordinates
 
 Each sheet has its own coordinate system called the @gloss{sheet
 coordinate system},
- at cindex Sheet coordinate system
+ at cindex sheet coordinate system
  and positions expressed in this coordinate system are said to be
 expressed in @gloss{sheet coordinates}.
- at cindex Sheet coordinates
+ at cindex sheet coordinates
   User coordinates are translated to @gloss{sheet coordinates} by means
 of the @gloss{user transformation} also called the @gloss{medium
 transformation}.  This transformation is stored in the @gloss{medium}
@@ -1043,7 +1043,7 @@
 
 @node Panes
 @chapter Panes
- at cindex Pane
+ at cindex pane
 
 Panes are subclasses of sheets.  Some panes are @gloss{layout panes}
 that determine the size and position of its children according to rules
@@ -1107,7 +1107,7 @@
 
 @node Layout protocol
 @section Layout protocol
- at cindex Layout protocol
+ at cindex layout protocol
 
 There is a set of fundamental rules of CLIM dividing responsibility
 between a parent pane and a child pane, with respect to the size and
@@ -1296,9 +1296,9 @@
 
 @node Command Processing
 @chapter Command Processing
- at cindex Command
- at cindex Command processing
- at cindex Command tables
+ at cindex command
+ at cindex command processing
+ at cindex command tables
 
 @deffn {Macro} {define-command-table} name &key inherit-from menu inherit-menu
 @findex define-command-table
@@ -1320,7 +1320,7 @@
 
 @node Output Protocol Extensions
 @chapter Output Protocol Extensions
- at cindex Extensions
+ at cindex extensions
 
 @deffn {Generic Function} {medium-miter-limit} medium
 @end deffn
@@ -1332,7 +1332,7 @@
 
 @node Output Recording Extensions
 @chapter Output Recording Extensions
- at cindex Extensions
+ at cindex extensions
 
 @menu
 * Standard classes::
@@ -1577,6 +1577,8 @@
 
 Loads a description of a font from the specified AFM file.
 
+ at include drei.texi
+
 @c @node Utility Programs
 @c @part Utility Programs
 
@@ -1588,7 +1590,7 @@
 
 @node Inspector
 @chapter Inspector
- at cindex Inspector
+ at cindex inspector
 @cindex Clouseau
 
 The inspector, called ``Clouseau'', is used for interactively inspecting
@@ -1773,7 +1775,7 @@
 many of them there are. It's written @math{\overline {x}}
 
 @lisp
-(defgeneric mean (sample) 
+(defgeneric mean (sample)
   (:documentation "The mean of the numbers in a statistical
 sample"))
 
@@ -2297,16 +2299,21 @@
 cosmetic fixes to McCLIM and also worked on a GTK-like gadget set.  He
 finally started work to get the OpenGL backend operational.
 
- at node Concept Index
- at unnumbered Concept Index
+ at node {Concept Index}
+ at unnumbered {Concept Index}
 
 @printindex cp
 
- at node Function Index
- at unnumbered Function Index
+ at node {Variable Index}
+ at unnumbered {Variable Index}
+
+ at printindex vr
+
+ at node {Function And Macro Index}
+ at unnumbered {Function And Macro Index}
 
 @printindex fn
 
- at bye

[4 lines skipped]

--- /project/mcclim/cvsroot/mcclim/Doc/drei.texi	2006/11/14 18:44:27	NONE
+++ /project/mcclim/cvsroot/mcclim/Doc/drei.texi	2006/11/14 18:44:27	1.1

[2726 lines skipped]



More information about the Mcclim-cvs mailing list