Re: [Fxruby-users] Dialogues, and create.
Status: Inactive
Brought to you by:
lyle
From: Joel V. <vj...@PA...> - 2003-07-01 16:15:03
|
Hugh Sasse Staff Elec Eng wrote: > I have learned the heuristic that for a widget hierarchy to be > operative it must be constructed and created, and the create() calls > must be done on the child widgets before the parent widget. > > So now I have been looking at dialog.rb from the examples. > application is an FXApp, and application.create is called, but > FXTestDialog's create method never seems to be called, nor does > DialogTester's. The child widgets (buttons, menus) don't seem to be > create()d either. Isn't the create() call propagated from parent to child? In fact, if I add some debugging code to DialogTester#create: def create super puts "FOO" show(PLACEMENT_SCREEN) end end then I see FOO on stdout when the main window appears. I'll bet you could verify that FXTestDialog#create is being called, too. |