Revision: 429 http://trac.macosforge.org/projects/ruby/changeset/429 Author: rich@infoether.com Date: 2008-08-12 20:43:15 -0700 (Tue, 12 Aug 2008) Log Message: ----------- add label Modified Paths: -------------- MacRuby/trunk/bin/hotcocoa Modified: MacRuby/trunk/bin/hotcocoa =================================================================== --- MacRuby/trunk/bin/hotcocoa 2008-08-13 03:35:11 UTC (rev 428) +++ MacRuby/trunk/bin/hotcocoa 2008-08-13 03:43:15 UTC (rev 429) @@ -46,9 +46,12 @@ include HotCocoa +# Replace the following code with your own hotcocoa code + application do |app| window :frame => [100, 100, 500, 500], :title => "#{app_name}" do |win| - win.will_close { exit } + win << label(:text => "Hello from HotCocoa", :layout => {:start => false}) + win.will_close { exit } end end }