From: Laurent Julliard Date: 2002-06-10T21:01:32+09:00 Subject: FXRuby: how to open a second window? This is a very, very basic question.... I'm using FXRuby (Thanks Lyle for the good work) and my toy application creates a mainWindow with a Menu bar. On of this Menu item is in charge of opening a second window (not a dialog box or something-box but a real second window) and I couldn't find how to do that.... My problem is basically that FXWindow.new expect a FXComposite object as its first argument. I thought passing the root window of the running application as the first argument to FXWindow.new would do (since FXRootWindow inherits from FXComposite) but it fails miserably... An example of how to open a second plain window in a FOX application would be really welcome. I couldn;t find such an example in those included with FXRuby. I already feel stupid just thinking about the obvious answers that you will all soon be posted :-/ Laurent