On Apr 14, 2008, at 9:02 PM, Jeremy Ashkenas wrote:
Yep. The stack method will return a Shoes::Stack, which has all kinds of instance methods defined on it. For example:

Shoes.app do
   s = stack do
       para "This text will disappear."
   end
   s.remove
end

So you could pass in the current stack object to the ImageHolders, but stacks aren't usually (yet) used directly like this, so the API for adjusting them is less documented (as you've discovered), and more exploratory. I'm sure that this list will benefit greatly from adventures in Shoes::Object passing, so please pursue it.

I surely will :)

BTW, what does stack pass into the block it spawns? Could we possibly do something like

stack do |s|
        call_something(s)
end

:D

Reply via email to