Index: doc/Object.man =================================================================== diff -u -r4f897a65ff7bd5cbdccccf152973cde188b6a684 -r5c386b5e1011480621bf5134e9d232dd922d27f7 --- doc/Object.man (.../Object.man) (revision 4f897a65ff7bd5cbdccccf152973cde188b6a684) +++ doc/Object.man (.../Object.man) (revision 5c386b5e1011480621bf5134e9d232dd922d27f7) @@ -600,8 +600,12 @@ [list_begin definitions] +[call [arg obj] [const object] [method property] [opt "-accessor public|private|protected"] [opt "-configurable [arg trueFalse]"] [opt -incremental] [opt "-class [arg className]"] [opt -nocomplain] [arg spec] [opt [arg initBlock]]] + [include property.man.inc] +[para] + By default, the [term property] will ascertain that no (potentially) pre-existing and equally named object variable will be overwritten when defining the property. In case of a conflict, an error exception Index: doc/property.man.inc =================================================================== diff -u -r4f897a65ff7bd5cbdccccf152973cde188b6a684 -r5c386b5e1011480621bf5134e9d232dd922d27f7 --- doc/property.man.inc (.../property.man.inc) (revision 4f897a65ff7bd5cbdccccf152973cde188b6a684) +++ doc/property.man.inc (.../property.man.inc) (revision 5c386b5e1011480621bf5134e9d232dd922d27f7) @@ -1,4 +1,4 @@ -[comment {-*- tcl -*- manpage fragment for property method}] +[comment {-*- tcl -*- manpage fragment for property method, shared by nx::Object and nx::Class}] [keywords property] [keywords "slot object"] @@ -9,8 +9,6 @@ [keywords "switch"] [keywords "value checker"] -[call [arg obj] [const [vset SCOPE]] [method property] [opt "-accessor public|private|protected"] [opt "-configurable [arg trueFalse]"] [opt -incremental] [opt "-class [arg className]"] [opt -nocomplain] [arg spec] [opt [arg initBlock]]] - Defines a [term property] for the scope of the [vset SCOPE]. For every property, a [term "slot object"] is created to manage the corresponding object variable. @@ -21,6 +19,11 @@ sets the level of [term "call protection"] for the getter and setter methods: [term public], [term protected], or [term private]. +[list_begin arguments] +[arg_def switch -incremental in] ... + +[list_end] + [para] By setting [option -configurable] to [const true], the property can be @@ -53,9 +56,4 @@ The last argument [arg initBlock] accepts an optional Tcl script which is passed into the initialization procedure (see [method configure]) of the [term property]'s [term "slot object"]. See -also [sectref description "[arg initBlock] for [method create] and [method new]"]. - -[list_begin arguments] -[arg_def switch -incremental in] ... - -[list_end] +also [sectref description "[arg initBlock] for [method create] and [method new]"]. \ No newline at end of file