[R] tcltk - automatically moving cursor to last line of tktext box - how?
p.dalgaard at biostat.ku.dk
Sat Sep 3 01:39:19 CEST 2005
Søren Højsgaard <Soren.Hojsgaard at agrsci.dk> writes:
> Hi; I have a program which writes lines to a tktext box (of height, say, 10) with
> tkinsert(txto, "end", paste(so,"\n"))
> I would like my program to be such that it automatically scrolls down through the text box when it is full so that I always see the last 10 lines written. Can anyone help on this?
> Best regards
tkyview(txto, "end - 10 lines")
O__ ---- Peter Dalgaard Øster Farimagsgade 5, Entr.B
c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help