You can test the effect of the code you have written by creating a new
SBECell object and inspecting it.
\(\bigstar\) Open a workspace. Type the expression
SBECell new and
The left-hand pane of the inspector shows a list of instance variables; if you select one (try
bounds), the value of the instance variable is shown in the right pane. You can also use the inspector to change the value of an instance variable.
\(\bigstar\) Change the value of bounds to
0@0 corner: 50@50 and
The bottom pane of the inspector is a mini-workspace. It’s useful because in this workspace the pseudo-variable
self is bound to the object being inspected.
\(\bigstar\) Type the text
self openInWorld in the bottom pane and
The cell should appear at the top left-hand corner of the screen, indeed, exactly where its
bounds say that it should appear. Blue-click on the cell to bring up the morphic halo. Move the cell with the brown (next to top-right) handle and resize it with the yellow (bottom-right) handle. Notice how the bounds reported by the inspector also change.
\(\bigstar\) Delete the cell by clicking on the x in the pink handle.