Re: [Fxruby-users] Deriving from FXTopWindow
Status: Inactive
Brought to you by:
lyle
|
From: Simon S. <ne...@ad...> - 2004-05-28 09:32:00
|
Fredrik Jagenheim <fr...@po...> wrote:
> 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)
What about ?
class MyTop < FXTopWindow
def initialize(owner)
super(owner, "Title", nil, nil, DECOR_ALL, 0, 0, 640, 480, 0, 0, 0, 0, 0, 0)
end
...
end
--
Simon Strandgaard
|