[R-gui] [R gui] buttonbox

"Unternährer Thomas, uth" uth at zhwin.ch
Sat Apr 17 12:11:53 CEST 2004


Hi,

A really good tcl-book can be found at http://www.beedub.com/book/.
It's probably not what you are looking for but could help other R-tcl-users.

Thomas




-----Original Message-----
From:	Erin Hodgess [mailto:hodgess at gator.uhd.edu]
Sent:	Sat 4/17/2004 12:00 AM
To:	r-sig-gui at stat.math.ethz.ch
Cc:	
Subject:	[R-gui] [R gui] buttonbox
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

_______________________________________________
R-SIG-GUI mailing list
R-SIG-GUI at stat.math.ethz.ch
https://www.stat.math.ethz.ch/mailman/listinfo/r-sig-gui



More information about the R-SIG-GUI mailing list