Hi, excuse me, i don�t understan how bind a tag in R, how to use the
function tkbind.tag, i used them but appear an error
library(tcltk)
tt<-tktoplevel()
editor<-tktext(tt)
tkpack(editor)
tkinsert(editor,"1.0","first line \n")
tkinsert(editor,"2.0","Second line \n")
tkinsert(editor,"3.0","Third line \n")
tkinsert(editor,"end", "1. Texto que reacciona a eventos. d1")
tkinsert(editor,"end","\n\n")
tktag.configure(editor,"d1",foreground="red")
 tktag.bind(editor,"d1",command=function(){})
tkbind(editor,"d1",<B1-Motion>, command=function(){print("hello"))})

i wish when move the mouse under the text appear a message "hello", how i
have this?, i search help in the R mailing list
but not exist. Thanks Ruben
>Error ......
thanks Ruben

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to