Hello all,

using package tcltk this is my problem:

 

I want to set a colour of a tclVar().

I have a tklabel (fixed in position) which should display two variables
occasionally. 

If a constraint is fulfilled, the tklabel should display
correct<-tclVar('correct') in green, otherwise it should display
wrong<-tclVar('wrong') in red!

 

To display the variables is no problem, but getting colour into them.

Up to now for me it was only possible to set the colour of the whole label. 

 

Any advice?

 

Thanks!

 

Immanuel Seeger

 

 

 


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to