Index: library/xotcl/doc/tutorial.html =================================================================== diff -u -rc4f449cb353be812ba6502ef8e9587e87881f59b -r37fe2bc49a8594e767ddeb0eabbe47f8c348513a --- library/xotcl/doc/tutorial.html (.../tutorial.html) (revision c4f449cb353be812ba6502ef8e9587e87881f59b) +++ library/xotcl/doc/tutorial.html (.../tutorial.html) (revision 37fe2bc49a8594e767ddeb0eabbe47f8c348513a) @@ -72,7 +72,7 @@
In extended object Tcl, classes are objects as well (objects with different properties). We will come to this later in more detail. However, we can define as well methods of classes, which are not inherited to the instances, by defining class-specific methods using proc. This happens exactly like defining objects specific methods as shown before. In the following example, we will define a class-specific method available_stacks that returns the number of the currently existing stack instances. @@ -2958,7 +2956,7 @@ className info instmixin ?className2?
-It returns the list of all instmixins of the the class, if className2 +It returns the list of all instmixins of the class, if className2 is not specified, otherwise it returns 1, if className2 is a mixin of the object, or 0 if not.
@@ -3592,7 +3590,7 @@ Person slot projects -This object structure can be used to to query and modify the slot +
This object structure can be used to query and modify the slot properties or to add additional methods to the slot objects. One application is for example to used slot-specific methods for checking slot values, as shown in the next section. @@ -3674,8 +3672,7 @@
For the most common simple cases with single valued attributes, where neither setter or getter are redefined, XOTcl optimizes the slot -access function and replaces the delegation to the slot object by the -the C-level implementation of instparametercmd. +access function and replaces the delegation to the slot object by the C-level implementation of instparametercmd.
Note that it is possible to subclass Attribute (e.g. in order to store more properties for attributes, like when attributes @@ -3830,7 +3827,7 @@
The initcmd is executed only once, when the variable is read the first time. For later reads of the variable contents, the values are returned. -
A value command (valuecmd) of a slot is similar to a a +
A value command (valuecmd) of a slot is similar to a init command, except that it is executed whenever the value of the variable is read. A value command can be used e.g. to implement live updates for variables or for abstracting from sql sequences or the @@ -4125,7 +4122,7 @@ method should be prefixed with the specified string (to avoid name clashes), -earlybinding means that the function pointer of the specified command (callee) is take at invocation time (should only -be done for (builtin) commands inplemented in C), and +be done for (built-in) commands inplemented in C), and -default provides a means for providing default methods when none are specified.
@@ -4345,8 +4342,7 @@The following examples show a few usages of the positional arguments in the forwarder. The forwarders f1 to f5 are created, followed by -one or more usages. The first argument of the usage is the call to -to forewarder, the second argument is the result. +one or more usages. The first argument of the usage is the call to forewarder, the second argument is the result.
########################################### @@ -4819,7 +4815,7 @@ the current namespace because there are no name-clashes with the commands defined by other extensions. -Consider you want to perform a deeper integration of an other +
Consider you want to perform a deeper integration of another extension and XOTcl because you want to benefit from XOTcl's object system. For instance, you might want to introduce composite TK widgets (sometimes called mega-widgets) as classes and inherit from these