Displaying 5 results from an estimated 5 matches for "foxtest".
Did you mean:
fortest
2005 Feb 18
2
Fixed column widths in FXTable?
...table.setItemText(r, 0, "#{r},0")
table.setItemText(r, 1, "#{r},1")
table.setItemText(r, 2, "#{r},2")
end
end
def create
super
show(PLACEMENT_SCREEN)
end
end
def runme
application = FXApp.new("MyTest", "FoxTest")
TestWindow.new(application)
application.create
application.run
end
runme
-------------------------------------------------------------------------
--
David Peoples davidp@touringcyclist.com
The Touring Cyclist http://www.touringcyclist.com
11816 St. Charles Rock Road, Bridget...
2005 Feb 18
5
FXTable segfaults after multiple setTableSize calls
...e.setTableSize(0, 1)
(0...TABLE_SIZE).each do |r|
@table.insertRows(r)
@table.setItemText(r, 0, "#{r}")
end
@table.setFocus
end
def create
super
show(PLACEMENT_SCREEN)
end
end
def runme
application = FXApp.new("MyTest", "FoxTest")
TestWindow.new(application)
application.create
application.run
end
runme
-------------------------------------------------------------------------
--
David Peoples davidp@touringcyclist.com
The Touring Cyclist http://www.touringcyclist.com
11816 St. Charles Rock Road, Bridgeto...
2008 Jun 12
0
[Foxgui-users] Segmentation fault on exit
...am probably doing something really stupid here, but I am
> having difficulty getting my Fox application to exit cleanly. I have
> written it as a new class "viewer"; my top level code looks like this;
>
> // Make application
> FXApp application("GLTest","FoxTest");
>
> // Open the display
> application.init(argc,argv);
>
> // Make window
> new viewer(&application,meshDescription, runTime);
>
> // Create the application''s windows
> application.create();
>
> // Run the application
> re...
2005 Mar 23
2
FXListBox size behavior?
...4
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.appendItem("short")
myListBox.appendItem("longer")
myListBox.appendItem(...
2005 Dec 01
1
Can''t add text to FXCanvas
...eight},"
print "#{fd.slant}, #{fd.setwidth},#{fd.encoding},"
print "#{fd.flags}\n\n"
STDOUT.flush
end
def create
super
show(PLACEMENT_SCREEN)
end
end
if __FILE__ == $0
# Construct an application
application = FXApp.new("Button", "FoxTest")
# Construct the main window
PlotterWindow.new(application)
# Create the application
application.create
# Run it
application.run
end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/fxruby-users/attachments/2005113...