search for: testwindow

Displaying 4 results from an estimated 4 matches for "testwindow".

Did you mean: testwind
2005 Feb 18
2
Fixed column widths in FXTable?
...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.setItemText(r, 0, "#{r},0")...
2000 Oct 26
1
Rgui and tcltk
...ere seem to be two components to the problem: -- the R prompt does not re-appear until <return> is pressed -- text output to the R Console window *disappears* after <return> is pressed The following, in R 1.1.1 under Windows NT 4, and using Tcl/Tk 8.3, illustrates: library(tcltk) testwindow <- tktoplevel() testaction<-function(){cat("Hello\n") flush.console()} testbutton <- tkbutton(testwindow, text="Click me", command=testaction) tkpack(testbutton) This successfully makes a Tk window with a button. But pressing the button does...
2005 Feb 18
5
FXTable segfaults after multiple setTableSize calls
...n''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, LAYOUT_FILL_X|LAYOUT_FILL_Y) goB...
2001 Jan 05
6
A masking test program
...here. But be warned, that takes about 160 hours. We must reduce the number of frequencies and amplitudes tested. There's one known bug at the moment: The masker amplitude is not properly displayed in the coordinate system. I didn't fix it because the bug is hidden in a mess of code, namely Testwindow::dosomething() and Testwindow::whatsnext(). They will be replaced anyway, it wasn't worth improving. I need help for this and lots of other things. I'm at wit's end with some problems and I'll be in California for only one more week. I'm going on vacation after that and be bac...