search for: ttkbutton

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

Did you mean: tkbutton
2011 Dec 19
1
Speed issue when writing to RGui console from tcl/tk GUI
...licking the "slow" buttons just calls timings directly, and takes 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 happe...
2008 Mar 10
0
Bindings for updated widgets in Tk 8.5.x
...med widget set has much to recommend it, and it certainly looks much better on MacOS and Windows. I've added bindings to package tcltk for R-devel, and taken a quick look at what would be needed to convert package Rcmdr to make use of them. in many uses they are a drop-in replacement (e.g. ttkbutton for tkbutton), but some of the customizations (fg="red") have different names (foreground="red", which also works for tkbutton) and others are replaced by the theme. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.s...