[Incrtcl-develop] [ incrtcl-Patches-1362070 ] cget code for Incr Tcl
by SourceForge.net other posts by this author
Nov 20 2005 4:37AM messages near this date
[Incrtcl-develop] [ incrtcl-Bugs-1376301 ] sparc solaris 8 cvs head test suite failure
|
[Incrtcl-develop] [ incrtcl-Bugs-1352867 ] Tcl++.tcl under Jacl
Patches item #1362070, was opened at 2005-11-20 13:36
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=313244&aid=1362070&group_id=13244
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Eckhard Lehmann (ecky-l)
Assigned to: Nobody/Anonymous (nobody)
Summary: cget code for Incr Tcl
Initial Comment:
The patch provides the possibility to assign cget code
for public Itcl variables, which is executed on the
obj cget -variable
call. By this it is possible to return certain special
values when cget is invoked on a variable. It works
much like the config code, which is implemented in Itcl
a for very long time.
A further enhancement is the possibility to assign
config- and cget-code to protected variables, and the
ability to configure/cget protected variables - but
only from within object member code (any Itcl method or
other config/cget code, that belongs to the class).
This can be used to abstract the behaviour of base
classes from derived classes and to execute associated
config/cget code.
The case of varargs and "eval configure $args" is
handled as well - it is not possible to give
"-protectedvar value" in a varargs list.
For a more in detail discussion see my homepage:
http://e-lehmann.de/?page_id=14
The patch applies to the last official Itcl (3.3) release.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=313244&aid=1362070&group_id=13244
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Incrtcl-develop mailing list
Incrtcl-develop@[...].net
https://lists.sourceforge.net/lists/listinfo/incrtcl-develop
|