work work => would work.

The delight of shoes is how it mixes methods and objects and events in
ways we can't understand. I've read enough of the C code to know, you
have to adapt to Shoe's world view. Use WxRuby or TkRuby if you need a
full featured cross platform toolkit with all the API's you can imagine
and all the control you desire. Even then, I don't think 'self' changes
based on the event. 

On Mon, 2008-07-07 at 23:11 -0600, Cecil Coupe wrote:
> Because 'self' is Shoes. You run within Shoes. Think how it work work
> otherwise. 
> 
> On Tue, 2008-07-08 at 14:16 +1000, Bluebie, Jenna wrote:
> > Why can't I do self.checked? inside a check's click block doodad? I  
> > find it confusing that I have to assign the check to a varaible and  
> > then use the variable. 'self' should reference the slot the event  
> > handler is running on behalf of.
> 

Reply via email to