Forum OpenACS Q&A: XOTcl Question
In the following code:
TableWidget t1 -volatile -columns ....etc.....
I can see that TableWidget inherits the volatile method from ::xotcl::Object, and I note that all methods with a 'c' superscript seem to be NOT displayed in the api browser. Does the 'c' mean that the method is inherited from a superclass? If so where are the method declarations kept (since ::xotcl::Object seems to be the top of the hierarchy in the API browser)?
So I cannot find the code for methods such as 'volatile'.
Also, why is there a hyphen when '-volatile' and 'column' are used? They look like parameters but are listed as methods.
I will continue to work through the tutorial and I apologise if the answers to these questions are in front of me.
Concerning the dashes ('-'): One can invoke every defined method during object creation by prefixing the method name with the dash...