search for: btn2

Displaying 2 results from an estimated 2 matches for "btn2".

Did you mean: btn
2011 Dec 19
1
Speed issue when writing to RGui console from tcl/tk GUI
...kes several seconds to run. However, if we request input from the console, via readline (the "fast" button) then the timing drops back down to hundredths of a second. library(tcltk) win <- tktoplevel() btn1 <- ttkbutton(win, text = "slow", command = function() timings()) btn2 <- ttkbutton(win, text = "fast", command = function() {readline("Press ENTER > "); timings()}) tkpack(btn1, btn2) I've only observed this slow behaviour with RGui on Windows (XP) - it doesn't happen with Rterminal or eclipse/StatET or RStudio. I want a few people...
2004 Nov 22
1
Layout Issue ...
...me ) @frame.show self.main_loop end def createButtonSizer @buttonSizer = Wx::BoxSizer.new( Wx::HORIZONTAL ) @btn1 = Wx::Button.new(@panel, -1, ''Button 1'') @buttonSizer.add(@btn1, 0, Wx::ALIGN_CENTER_VERTICAL|Wx::ALL, 2) @btn2 = Wx::Button.new(@panel, -1, ''Print'') @buttonSizer.add(@btn2, 0, Wx::ALIGN_CENTER_VERTICAL|Wx::ALL, 2) @buttonSizer end def createGridSizer @gridSizer = Wx::BoxSizer.new( Wx::VERTICAL ) @grid = Wx::Grid.new( @panel, -1, Wx::Point.new( 1, 1 ), Wx...