From: Simon Strandgaard <0bz63fz3m1qt3001@...> Date: 2003-05-06T21:26:05+09:00 Subject: [fxruby] create children I want to add some widgets outside the constructor. I have been looking at freeride how they do it (they use widget.create all the time). So I made this piece of code which works fine. But... dummy = FXTabItem.new(@tabbook, "Dummy", nil) dummy.create frame = FXVerticalFrame.new(@tabbook, FRAME_THICK|FRAME_RAISED) frame.create @tabbook.recalc @tabbook.forceRefresh I have many widgets which needs to be created.. can I avoid calling create.. Is there some way to automaticaly create all childrend ?? Or do I have to do it manually myself ? You can see my code here: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/sysinstall2/project_sysinstall2/frontend_fox/main_window.rb?rev=1.3.2.3&only_with_tag=repaint_added_widgets&content-type=text/vnd.viewcvs-markup -- Simon Strandgaard