[R-gui] gwidgets - what arguments are possible?

Mark Heckmann mark.heckmann at gmx.de
Fri Dec 18 12:17:39 CET 2009


Hi all,

1) is there a way to change the color or font size/type in gbuttons  
and other widgets etc.?
Here:
http://www.mail-archive.com/r-sig-gui@stat.math.ethz.ch/msg00422.html
it is pointed out that font size can be changed globally by editing  
the ~/.gtkrc-2.0 file.

Is there a way to do it dynamically, like

button <- gbutton("Hello world", container=group_2, font.attr=list 
(color="red",style="bold"))

which does not work?

What I would like is my buttons to change color according to some value.

2) If not in gwidgets, is it possible via the RGtk2 package (have not  
used it yet directly)?

Thanks in advance!
Mark

–––––––––––––––––––––––––––––––––––––––
Mark Heckmann
Dipl. Wirt.-Ing. cand. Psych.
Vorstraße 93 B01
28359 Bremen
Blog: www.markheckmann.de
R-Blog: http://ryouready.wordpress.com



More information about the R-SIG-GUI mailing list