The value pane of an Inspector is like any description pane in the development environment. Thus, you can type a Smalltalk expression in it, press mouse button two to pop up the Edit menu, and evaluate the expression. (For UNIX, press mouse button three to pop up the menu.)Try evaluating an expression from the Inspector on Chooser. For example, evaluate an expression that adds a comment to the definition for Chooser:
1.
2. Type the following after the word Chooser:
3. Select Chooser and the text you typed in (press Ctrl+A).
4. To open a Class Browser from the value pane, evaluate self browse. Note that because self represents the class Chooser, you can use self instead of Chooser in expressions evaluated in a value pane.To have self represent any selected variable, place a check mark beside the bind 'self' to selection option.
|