I know how to open a halo and navigate through menu choices to add a mouseUp action to a ScriptableButton.
How can I add the mouseUp action with code? To be something like:
button := ScriptableButton new. button position: 200 @ 200. button label: 'Paragraph'. " what goes here? " button extension: (mouseUpCodeToRun -> 'Transcript show'). button openInWorld.
If the detective-process of how to figure it out could be explained as well, that would be great.
Thanks very much in advance,
MP
beginners@lists.squeakfoundation.org