Regis,
 
Thank you for your informative reply.   I'll give it a try!
 

On Tuesday, July 24, 2012 4:16:53 AM UTC-4, Regis d'Aubarede wrote:

> here a example with gtk by a littlr dsl 
> > ... install gtk2 
> > gem install Ruiby 
>
> and then : 
>
>
> require 'ruiby' 
> M=12 
> N=10 
> Ruiby.app width: 400, height:400 do 
>  @matrix=[] 
>  table(M,N) do 
>     M.times { 
>     line=[] 
>     row { 
>       N.times { 
>         line << label("   ") 
>         cell(line.last) 
>       } 
>     } 
>     @matrix << line 
>   } 
>  end 
>  anim(10) do 
>     @matrix[rand(M)][rand(N)].text = (Time.now.to_i%10).to_s 
>  end 
> end 
>
> -- 
> Posted via http://www.ruby-forum.com/. 
>
>

-- You received this message because you are subscribed to the Google Groups 
ruby-talk-google group. To post to this group, send email to 
[email protected]. To unsubscribe from this group, send email 
to [email protected]. For more options, visit this 
group at https://groups.google.com/d/forum/ruby-talk-google?hl=en

Reply via email to