r-sig-gui  

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

Mark Heckmann
Fri, 18 Dec 2009 03:27:37 -0800

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

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