« Return to Thread: Learning FXRuby please help!

Re: Learning FXRuby please help!

by Philippe Lang :: Rate this Message:

Reply to Author | View in Thread

fxruby-users-bounces@... wrote:

> Thanks for your help! Why do I need the self.recalc?

I have to say I don't know exactly. I thought a self.repaint or
self.update would be sufficient, since your frame is only hidden and
then shown. As a first guess, I would have said that you need a recalc
when you create controls "dynamically", and need to invalidate the
window structure. But your example shows that I'm wrong!

For sure, Lyle or Jeroen have the answer!

> And do you have
> a good source for me to read about this kind of thing so I don't need
> to keep asking "confused beginner" questions?

Lyle has written a book: http://www.pragprog.com/titles/fxruby/fxruby

Otherwise you have examples here:
http://www.fxruby.org/doc/examples.html

... And the API reference: http://www.fxruby.org/doc/api/

Best regards,

Philippe Lang
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users

 « Return to Thread: Learning FXRuby please help!