The initial items can be a vector or a data frame. Not
all tool kits do something with the extra columns in the data
frame.
The svalue method returns the selected value by
name. Assume the value is a character vector. Use the
coerce.with argument to return a value of a different
type. If the extra argument index=TRUE is specified,
the index of the selected value is given.
The svalue<- method can be used to set the selected
value. This is done my name or if the argument
index=TRUE is given by index. The value can be a data
frame, in which case the first column is used to match against
the current items.
The "[" method refers to the vector defining the items.
The "[<-" method can be used to change the vector
defining the items.
The "length" method returns the number of items.
For gcombobox the argument editable=TRUE adds a
text-edit box where the user can type in a selection. By
default this value is returned as a character by
svalue. Use coerce.with to coerce this prior to returning.