diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2019-12-31 14:56:32 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2019-12-31 14:56:32 (GMT) |
commit | d4b3d3a460efcdaa6f0ef897a6c3e52b3331e421 (patch) | |
tree | 03baa2610b4bff71f29504f3855476db531d5ce0 /doc/info.n | |
parent | 6eb109c913cd2b43ad9298df8f9eaf9e66c75a77 (diff) | |
download | tcl-d4b3d3a460efcdaa6f0ef897a6c3e52b3331e421.zip tcl-d4b3d3a460efcdaa6f0ef897a6c3e52b3331e421.tar.gz tcl-d4b3d3a460efcdaa6f0ef897a6c3e52b3331e421.tar.bz2 |
Added docs
Diffstat (limited to 'doc/info.n')
-rw-r--r-- | doc/info.n | 47 |
1 files changed, 47 insertions, 0 deletions
@@ -492,6 +492,29 @@ be discovered with \fBinfo class forward\fR. This subcommand returns a list of all classes that have been mixed into the class named \fIclass\fR. .TP +\fBinfo class property\fI class\fR ?\fIoptions...\fR +.VS "TIP 558" +This subcommand returns a sorted list of properties defined on the class named +\fIclass\fR. The \fIoptions\fR define exactly which properties are returned: +.RS +.TP +\fB\-all\fR +. +With this option, the properties from the superclasses and mixins of the class +are also returned. +.TP +\fB\-readable\fR +. +This option (the default behavior) asks for the readable properties to be +returned. Only readable or writable properties are returned, not both. +.TP +\fB\-writable\fR +. +This option asks for the writable properties to be returned. Only readable or +writable properties are returned, not both. +.RE +.VE "TIP 558" +.TP \fBinfo class subclasses\fI class\fR ?\fIpattern\fR? . This subcommand returns a list of direct subclasses of class \fIclass\fR. If @@ -681,6 +704,30 @@ object named \fIobject\fR. This subcommand returns the name of the internal namespace of the object named \fIobject\fR. .TP +\fBinfo object property\fI object\fR ?\fIoptions...\fR +.VS "TIP 558" +This subcommand returns a sorted list of properties defined on the object +named \fIobject\fR. The \fIoptions\fR define exactly which properties are +returned: +.RS +.TP +\fB\-all\fR +. +With this option, the properties from the class, superclasses and mixins of +the object are also returned. +.TP +\fB\-readable\fR +. +This option (the default behavior) asks for the readable properties to be +returned. Only readable or writable properties are returned, not both. +.TP +\fB\-writable\fR +. +This option asks for the writable properties to be returned. Only readable or +writable properties are returned, not both. +.RE +.VE "TIP 558" +.TP \fBinfo object variables\fI object\fRR ?\fB\-private\fR? . This subcommand returns a list of all variables that have been declared for |