Help with fox-tool

I’ve been playing with this app and think it shows great promise.
According to the documentation I believe FXDialogBox has been implemented
but I can’t workout how to use it. Any pointers would be greatly
appreciated.

Keep up the good work Meinrad.

Cheers
Nigel

How about?

require ‘fox’
include Fox

class RedDialog < FXDialogBox
def initialize(owner)
super(owner, “Editor”, DECOR_ALL, 0, 0, 640, 480, 0, 0, 0, 0, 0, 0)
# initialize buttons… etc
end
def create
super
show
end
end

···

Nigel Wilkinson nigel@waspz.co.uk wrote:

I’ve been playing with this app and think it shows great promise.
According to the documentation I believe FXDialogBox has been implemented
but I can’t workout how to use it. Any pointers would be greatly
appreciated.


Simon Strandgaard

Perhaps I should have been more explicit. My problem is how to use the
FXDialogBox class from within fox-tool which is an interactive graphical
user interface builder for FXRuby rather than how to use it from within
FXRuby.

Cheers
Nigel

···

–On Thursday, June 03, 2004 07:22:48 +0900 Simon Strandgaard neoneye@adslhome.dk wrote:

Nigel Wilkinson nigel@waspz.co.uk wrote:

I’ve been playing with this app and think it shows great promise.
According to the documentation I believe FXDialogBox has been
implemented but I can’t workout how to use it. Any pointers would be
greatly appreciated.

How about?

require ‘fox’
include Fox

class RedDialog < FXDialogBox
def initialize(owner)
super(owner, “Editor”, DECOR_ALL, 0, 0, 640, 480, 0, 0, 0, 0, 0, 0)
# initialize buttons… etc
end
def create
super
show
end
end


Simon Strandgaard

I’ve been playing with this app and think it shows great promise.
According to the documentation I believe FXDialogBox has been
implemented but I can’t workout how to use it. Any pointers would be
greatly appreciated.

How about?
[snip code]

Perhaps I should have been more explicit. My problem is how to use the
FXDialogBox class from within fox-tool which is an interactive graphical
user interface builder for FXRuby rather than how to use it from within
FXRuby.

Sorry, I cannot help you.

···

Nigel Wilkinson nigel@waspz.co.uk wrote:

neoneye@adslhome.dk wrote:

Nigel Wilkinson nigel@waspz.co.uk wrote:


Simon Strandgaard