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)
S
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
tonja.krue
Dear All,
I’m trying to create a GUI using gWidgets.
I would like to have a checkbox to “switch on/off” different frames within the
GUI. Ideally if one frame is switched on, all other frames would be switched
off.
Unfortunatly I only came as far as this:
library(gWidgets)
Population <- c("A"
3 matches
Mail list logo