diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2017-06-22 21:50:08 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2017-06-22 21:50:08 (GMT) |
commit | 2570da989eed0e3768e8c6aa4535c1542695bb9c (patch) | |
tree | cdd8ab22151df5befc6b2793a5944e30e26fc38a /doc | |
parent | f5cf6bbf990d8bb8c07e986c9f67c94f75c878ff (diff) | |
parent | 150abed7cc47a2f1010df4700282f419d56a8a9f (diff) | |
download | tcl-2570da989eed0e3768e8c6aa4535c1542695bb9c.zip tcl-2570da989eed0e3768e8c6aa4535c1542695bb9c.tar.gz tcl-2570da989eed0e3768e8c6aa4535c1542695bb9c.tar.bz2 |
Implement TIP #470: Reliable Access to OO Definition Context Object
Diffstat (limited to 'doc')
-rw-r--r-- | doc/define.n | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/define.n b/doc/define.n index 7599ec0..1692c94 100644 --- a/doc/define.n +++ b/doc/define.n @@ -142,6 +142,8 @@ be afterwards. \fBself\fI subcommand arg ...\fR .TP \fBself\fI script\fR +.TP +\fBself\fR . This command is equivalent to calling \fBoo::objdefine\fR on the class being defined (see \fBCONFIGURING OBJECTS\fR below for a description of the @@ -151,6 +153,13 @@ and .QW "\fBoo::define \fIcls \fBself \fIsubcommand ...\fR" operates identically to .QW "\fBoo::objdefine \fIcls subcommand ...\fR" . +.RS +.PP +.VS TIP470 +If no arguments at all are used, this gives the name of the class currently +being configured. +.VE TIP470 +.RE .TP \fBsuperclass\fR ?\fI\-slotOperation\fR? ?\fIclassName ...\fR? .VS @@ -265,6 +274,12 @@ not previously refer to a method in that object. Does not affect the classes that the object is an instance of. Does not change the export status of the method; if it was exported before, it will be afterwards. .TP +\fBself \fR +. +.VS TIP470 +This gives the name of the object currently being configured. +.VE TIP470 +.TP \fBunexport\fI name \fR?\fIname ...\fR? . This arranges for each of the named methods, \fIname\fR, to be not exported |