search for: fox12

Displaying 7 results from an estimated 7 matches for "fox12".

Did you mean: fox16
2005 Jul 31
1
Re: FXRuby on OpenBSD
...used" and suggests that some other procedures would be better > than > the one(s) used. But no actual abort of compile. OK. > However after installing everything the ruby irb test fails in a > unusual way > > eg: > > $ irb > irb(main):001:0> require ''fox12'' > $ > > IE: program just drops out, no error messages, if I try require ''fox'' > I get > the expected "can''t find file". So I assume that the fox12.so does > exist > (which it does) and is found by irb but ruby does not like &quot...
2005 Apr 05
0
Connecting messages to methods
Hi all. I''m trying to write a subclass of FXMainWindow which has several methods to dispatch events. The class looks like this: -- require "fox12" require "fox12/responder" include Fox class Window < FXMainWindow include Responder ID_SELF, ID_BTN = enum(FXMainWindow::ID_LAST, 2) def initialize(a, title) super(a, title, nil, nil, DECOR_ALL, 0, 0, 640, 480) self.setSelector(ID_SELF) self.setTarget(self) self....
2005 Feb 18
2
Fixed column widths in FXTable?
...n 1.2.3 on top of the version included with the one click installer (FXRuby-1.2.3-ruby182.exe). fxversion() reports "1.2.13" from the irb command prompt. The machine has a Pentium 4 and 256mb ram. ------------------------------------------------------------------------- require "fox12" include Fox class TestWindow < FXMainWindow def initialize(app) super(app, "MyTest", nil, nil, DECOR_ALL, 0, 0, 600, 400, 0, 0) table = FXTable.new(self, nil, 0, LAYOUT_FILL_X|LAYOUT_FILL_Y) table.setTableSize(50, 3) (0...50).each do |r| table.setI...
2005 Feb 18
5
FXTable segfaults after multiple setTableSize calls
...he code on Windows and it *doesn''t* fail, let me know that -- maybe it is some other problem on this machine I''ll have to track down (display driver?). Thanks for your help. David Peoples ------------------------------------------------------------------------- require "fox12" include Fox class TestWindow < FXMainWindow TABLE_SIZE = 10_000 def initialize(app) super(app, "MyTest", nil, nil, DECOR_ALL, 0, 0, 600, 400, 0, 0) mainFrame = FXVerticalFrame.new(self, LAYOUT_FILL_X|LAYOUT_FILL_Y) @table = FXTable.new(mainFrame, nil, 0, L...
2005 May 13
2
FXRuby on Windows Ruby Installer
Hello, I am a new user to Ruby and I installed the Windows Ruby Installer. When I try to run some tutorial examples I get errors. More specifically the one I remember is with FXToolTip. which throws an error saying: uninitialized constant FXTooltip (NameError) It seems that some of the controls cannot be loaded. Could you please guide me on the subject? Thanks Nick Tzanos
2005 Apr 12
2
FXSettings problem
...ass FXSettings in order to add some functionality to it but I ran into the following problem. The code which shall be executed looks like this: def test reg = Registry.new("test.reg") reg.Parse end The Registry class basically looks this way: require "fox12" include Fox class Registry < FXSettings attr_accessor :mFile attr_accessor :mDefaults def initialize(aFile) self.mFile = aFile self.mDefaults = FXSettings.new end def Parse par...
2005 Mar 23
2
FXListBox size behavior?
...clist http://www.touringcyclist.com 11816 St. Charles Rock Road, Bridgeton, MO 63044 tel: 314-739-4648 fax: 314-739-4972 ----------------------------------------------------- #!/usr/bin/env ruby # tested using FXRuby 1.2.5 and Ruby 1.8.2 (One-click installer # on Windows XP) require ''fox12'' include Fox application = FXApp.new("listboxtest", "FoxTest") main = FXMainWindow.new(application, "FXListBox test", nil, nil, DECOR_ALL, 0, 0, 400, 200) myListBox = FXListBox.new(main) myListBox.appendItem("a very long example") myListBox.append...