Skip to content
Prev 164661 / 398506 Next

How to mimic select.list using RGtk2/gWidgetsRGtk2?

Hi, John,

Thanks very much. I have another question about gformlayout().

addSettingGUI <- function(container){
Setting <- list(type = "ggroup",
              horizontal = FALSE,
              children = list(
                list(type="fieldset",
                     columns = 1,
                     label = "Settings",
                     label.pos = "top",
                     label.font = c(weight="bold"),
                     children = list(
                       list(name = "owner",
                            label = "Name of Coder",
                            type = "gedit",
                            text = ""
                            )
                    )
                     )
                )
                )
SettingFL <- gformlayout(Setting, cont = container, expand=TRUE)

}

g<-gwindow(width=50)
addSettingGUI (g)

## It seems that argument of width in gwindow has no effects on the
resultant widget
## How can can re-scale the width of the resultant widget?
## thanks.

Ronggui
On Sat, Dec 13, 2008 at 1:12 PM, John Verzani <verzani at math.csi.cuny.edu> wrote: