diff6-10.chapter28.txt

このページは最後に更新されてから1年以上経過しています。情報が古い可能性がありますので、ご注意ください。

last mod. 2008-08-28 (木) 09:59:01

diff6-10

17,31c17,29
<                 The labltk library is available for any system with Tcl/Tk
<                installed, starting from Tcl 7.5/Tk 4.1 up to Tcl/Tk 8.3. Beware
<                that some beta versions may have compatibility problems.
<                If the library was not compiled correctly, try to run again the
<                configure script with the option -tkdefs switches, where
<                switches is a list of C-style inclusion paths leading to the
<                right tcl.h and tk.h, for instance '-I/usr/local/include/tcl8.3
<                -I/usr/local/include/tk8.3'.
<                A script is installed, to make easier the use of the labltk
<                library as toplevel. 
<                  
<                 labltk  This is a toplevel including the labltk library, and
<                   the path is already set as to allow the use of the various
<                   modules. It also includes code for the Unix and Str
<                   libraries. You can use it in place of ocaml. 
---
>     The labltk library is available for any system with Tcl/Tk installed,
>    starting from Tcl 7.5/Tk 4.1 up to Tcl/Tk 8.4. Beware that some beta
>    versions may have compatibility problems.
>    If the library was not compiled correctly, try to run again the configure
>    script with the option -tkdefs switches, where switches is a list of C-style
>    inclusion paths leading to the right tcl.h and tk.h, for instance
>    '-I/usr/local/include/tcl8.4 -I/usr/local/include/tk8.4'.
>    A script is installed, to make easier the use of the labltk library as
>    toplevel. 
>      
>     labltk  This is a toplevel including the labltk library, and the path is
>       already set as to allow the use of the various modules. It also includes
>       code for the Unix and Str libraries. You can use it in place of ocaml. 
35,43c33,39
<                 The labltk library has been precompiled for use with Tcl/Tk
<                8.3. You must first have it installed on your system. It can be
<                downloaded from
<                http://www.scriptics.com/products/tcltk/8.3.html. After
<                installing it, you must put the dynamically loaded libraries
<                tcl83.dll and tk83.dll (from the bin directory of the Tcl
<                installation) in a directory included in you path.
<                No toplevel is available, but you can load the library from the
<                standard toplevel with the following commands. 
---
>     The labltk library has been precompiled for use with Tcl/Tk 8.4. You must
>    first have it installed on your system. It can be downloaded from
>    http://www.activestate.com/products/ActiveTcl/. After installing it, you
>    must put the dynamically loaded libraries tcl84.dll and tk84.dll (from the
>    bin directory of the Tcl installation) in a directory included in you path.
>    No toplevel is available, but you can load the library from the standard
>    toplevel with the following commands. 
45,46c41
<                            <<
<                              # #directory "+labltk";;
---
>       <<# #directory "+labltk";;
48a44,47
>     You can also load it directly from the command line. 
>        
>       <<C:\ocaml\bin> ocaml -I +labltk labltk.cma
>       >>
53,54c52
<                <<
<                  Bell                Imagebitmap         Place
---
>    <<Bell                Imagebitmap         Place
79a78
> 
83d81
<    
89,93c87,89
<                 Initialize LablTk and open a toplevel window.  display is
<                described according to the X11 conventions.  clas is used for
<                the X11 resource mechanism.
<   
<    
---
>     Initialize LablTk and open a toplevel window. display is described
>    according to the X11 conventions. clas is used for the X11 resource
>    mechanism.
101,102d96
<    
<    
109,110d102
<    
<    
122d113
<    
129,130d119
<    
<    
135d123
<    
147d134
<    
149,153c136,137
<   type  units = [ `Cm of float
<                 | `In of float
<                 | `Mm of float
<                 | `Pix of int
<                 | `Pt of float] 
---
>   type units = [ `Cm of float | `In of float | `Mm of float | `Pix of int | `Pt
> of float ] 
156d139
<    
161,163c144,146
<                 Converts various on-screen units to pixels,  respective to the
<                default display. Available units are  pixels, centimeters,
<                inches, millimeters and points
---
>     Converts various on-screen units to pixels, respective to the default
>    display. Available units are pixels, centimeters, inches, millimeters and
>    points
170d152
<    
172c154
<   type  anchor = [ `Center | `E | `N | `Ne | `Nw | `S | `Se | `Sw | `W] 
---
>   type anchor = [ `Center | `E | `N | `Ne | `Nw | `S | `Se | `Sw | `W ] 
175d156
<    
177c158
<   type  fillMode = [ `Both | `None | `X | `Y] 
---
>   type fillMode = [ `Both | `None | `X | `Y ] 
180d160
<    
182c162
<   type  side = [ `Bottom | `Left | `Right | `Top] 
---
>   type side = [ `Bottom | `Left | `Right | `Top ] 
185d164
<    
199,202c178
<                 Pack a widget inside its parent,  using the standard layout
<                engine.
<   
<    
---
>     Pack a widget inside its parent, using the standard layout engine.
218,219d193
<    
<    
221c195
<   type  borderMode = [ `Ignore | `Inside | `Outside] 
---
>   type borderMode = [ `Ignore | `Inside | `Outside ] 
224d197
<    
239,240d211
<    
<    
245d215
<    
257d226
<    
275c244
<                    | `Triple] 
---
>     | `Triple ] 
278d246
<    
304c272
<                 | `Visibility] 
---
>     | `Visibility ] 
309d276
<    
342d308
<    
369c335
<                      | `Width] 
---
>     | `Width ] 
374d339
<    
384,389c349,353
<                 Bind a succession of events on a widget to an action.  If
<                extend is true then then binding is added after existing  ones,
<                otherwise it replaces them.  breakable should be true when break
<                is to be called inside  the action.  action is called with the
<                fields required set in  an eventInfo structure. Other fields
<                should not be accessed.  If action is omitted then existing
---
>     Bind a succession of events on a widget to an action. If extend is true
>    then then binding is added after existing ones, otherwise it replaces them.
>    breakable should be true when break is to be called inside the action.
>    action is called with the fields required set in an eventInfo structure.
>    Other fields should not be accessed. If action is omitted then existing
392,393d355
<    
<    
403,407c365,366
<                 Same thing for all widgets of a given class. If a widget  is
<                given with label ~on:, the binding will be removed as  soon as
<                it is destroyed.
<   
<    
---
>     Same thing for all widgets of a given class. If a widget is given with
>    label ~on:, the binding will be removed as soon as it is destroyed.
420,421d378
<    
<    
426,429c383,384
<                 Used inside a bound action, do not call other actions  after
<                this one. This is only possible if this action  was bound with
<                ~breakable:true.
<   
---
>     Used inside a bound action, do not call other actions after this one. This
>    is only possible if this action was bound with ~breakable:true.

新規 編集 添付