From: Gawnsoft Date: 2003-09-05T00:46:10+09:00 Subject: Re: Beginning to use FxRuby - help, please On Mon, 1 Sep 2003 12:37:50 +0900, Osuka Adartse wrote (more or less): >Gawnsoft wrote: > >>On Sat, 30 Aug 2003 14:34:38 -0500, Lyle Johnson wrote (more or less): >> >> >>>re-install using the Pragmatic Programmers' installer. >>> >>> >> >>Okay - cleared off the old version of FxRuby, and the 1.6.4-2 install. >> >>Installed Ruby 1.6.8-8 (which includes FxRuby) >> >>the installation acknowledges fox when I require it now, but... >> >>When I run the tutorial 'Hello.rb' from FreeRide: >> >> require 'fox' >> include Fox >> theApp = FXApp.new >> theMainWindow = FXMainWindow.new(theApp, "Hello") >> theApp.create >> theMainWindow.show >> theApp.run >> >> I get a task bar entry labelled 'Hello', but no window. >> >>p.s. $: now returns: >> >>["D:/PROGRAMS/CODING/RUBY/lib/ruby/site_ruby/1.6", >>"D:/PROGRAMS/CODING/RUBY/lib/ruby/site_ruby/1.6/i586-mswin32", >>"D:/PROGRAMS/CODING/RUBY/lib/ruby/site_ruby", >>"D:/PROGRAMS/CODING/RUBY/lib/ruby/1.6", >>"D:/PROGRAMS/CODING/RUBY/lib/ruby/1.6/i586-mswin32", "."] >> >>Cheers, >> Euan >>Gawnsoft: http://www.gawnsoft.co.sr >>Symbian/Epoc wiki: http://html.dnsalias.net:1122 >>Smalltalk links (harvested from comp.lang.smalltalk) http://html.dnsalias.net/gawnsoft/smalltalk >> >> >> >And that's what you should get ;-) actually look to the upper left of >your screen there should be the window but it'll be *small* Yep - that was my problem. I was expecting a window sized by the window title, not one 4 pixels wide. Now that I've mastered 'hello world' buttons, I'd better get my mind round the FOX paradigms. Cheers, Euan Gawnsoft: http://www.gawnsoft.co.sr Symbian/Epoc wiki: http://html.dnsalias.net:1122 Smalltalk links (harvested from comp.lang.smalltalk) http://html.dnsalias.net/gawnsoft/smalltalk