Re: [R] use gcheckbox in gWidgets to switch on/off gframe

2016-01-22 Thread Rolf Fankhauser
Hi Tonja Maybe I wasn't clear in my last post. This is the code: library(gWidgetstcltk) library(gWidgets) options(guiToolkit="tcltk") Population <- c("A","B","C","D","E","F") w = gwindow("") g1 = ggroup(horizontal = F, cont=w) g2 = ggroup(horizontal = T, cont=g1) glabel("Population:", cont=g2)

Re: [R] use gcheckbox in gWidgets to switch on/off gframe

2016-01-16 Thread Rolf Fankhauser
Hi Tonja I removed the cat(...) in the event handlers because cat writes TRUE or FALSE to the console but doesn't seem to return a value. Then it worked. You should initialize the frames to be disabled or the checkboxes to be checked that both states are consistant. Regards, Rolf