[R-gui] [R gui] buttonbox
Erin Hodgess
hodgess at gator.uhd.edu
Sat Apr 17 00:00:03 CEST 2004
Dear R Gui People:
I am trying to convert some Iwidget code for tcl/tk use on
R.
R 1.8.1 Windows
Ok.
Here is the Iwidget code:
package require Iwidgets 4.0
iwidgets::buttonbox .bb
.bb add OK -text OK -command "puts OK"
.bb add Apply -text Apply -command "puts Apply"
.bb add Cancel -text Cancel -command "puts Cancel"
.bb default OK
pack .bb -expand yes -fill both
So I know that I'll start with
library(tcltk)
tclRequire("Iwidgets")
bb <- tkwidget(tt,"iwidgets::buttonbox")
.
.
.
tkpack(bb,expand="y",fill="both")
It's that stuff in the middle that I'm stuck on.
Any suggestions, please?
Or does anyone have a good book reference to practice with please?
Thanks yet again!
Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgess at gator.uhd.edu
More information about the R-SIG-GUI
mailing list