[Fxruby-users] Deriving from FXTopWindow
Status: Inactive
Brought to you by:
lyle
From: Fredrik J. <fr...@po...> - 2004-05-28 09:23:24
|
Hi, I'm trying to create a new window from my MainWindow; but I can't figure out how. I don't want it as a dialog, so I figured I had to use FXTopWindow instead. But I can't figure out the correct arguments to the baseclass initialize: matrixWindow.rb:9:in `initialize': No matching function for overloaded 'new_FXTopWindow' (ArgumentError) So, perhaps there is no initialize, since it's an abstract class, so I remove the 'super' call: matrixWindow.rb:13:in `initialize': This FXComposite * already released (RuntimeError) Obviously, calling initialize is required somehow. Am I mistaken when trying to use FXTopWindow? Perhaps I can use FXDialogBox without it telling my WindowManager that it's a dialog? Tia, //F |