[squeak-dev] What can be an actionSelector
K. K. Subramaniam
subbukk at gmail.com
Fri Jun 19 14:36:58 UTC 2009
On Friday 19 June 2009 05:06:25 pm Gary Dunn wrote:
> Having created a minimal stack, I set out to learn how to provide
> navigation controls. I placed a buttom morph on the background used
> later in the stack with a target of the name of the StackMorph and an
> actionSelector of goToFirstCardOfStack. This works. But when I put a
> button on the first page, which has a different background, and make its
> actionSelector goToNextCardInStack, nothing happens. If I make it flash,
> the default, the book flashes,
How many pages do you have in your Stack? Inspect it. While inspecting, you
can also debug sends like 'self goToNextCardInStack'. Trace through and check.
This may appear tedious but it is a good way to pick up Squeak internals.
More information about the Squeak-dev