I am a beginner, like you, and I learnt how to bind buttons to
actions from the Workspace a few days ago :)
So, here is a minimal working snippet. Run one line at a time for
best fun. First line is only to clean already existing widgets. I
did not put the Layout stuff to keep things as easy/nice as
"Run this line to clean up and restart testing. Not useful on first
s delete. bp delete. bm delete.
s := StringMorph new.
s openInWorld .
s contents: '0'.
s position: 100@100.
bp := SimpleButtonMorph new.
bp openInWorld .
bp label: 'Plus-1'.
bp position: 150@100.