R/defineCombo.R

## Helper function for 'setData()'
## Create combobox

defineCombo <-
function(frame, var, list){
  w <- 17
  if (length(list) == 4) w <- 12
  combo <- ttkcombobox(frame, state = "readonly", values = list,
                       textvariable = var, width = w)
  return(combo)
}

Try the DALY package in your browser

Any scripts or data that you put into this service are public.

DALY documentation built on May 2, 2019, 12:19 p.m.