Re: [R] tk combobox question

2006-08-10 Thread Franco Mendolia
Datum: 09.08.2006 23:19 I think you want something like this: require(tcltk) || stop(Package tcltk is not available.) version.BWidget - tclvalue(tclRequire(BWidget)) modify_command - function() { print(Hey, I'm modified...) } tt - tktoplevel() values = c(foo, bar,

[R] tk combobox question

2006-08-09 Thread Franco Mendolia
Hello! The IWigdets::combobox has an option selectioncommand to specify a procedure which is called when an item in the combobox is selected. Does ComboBox from Bwidgets have an equal option or is there a simple method to do thi? I haven't found one but i would like to use Bwidgets instead of

Re: [R] tk combobox question

2006-08-09 Thread JeeBee
I think you want something like this: require(tcltk) || stop(Package tcltk is not available.) version.BWidget - tclvalue(tclRequire(BWidget)) modify_command - function() { print(Hey, I'm modified...) } tt - tktoplevel() values = c(foo, bar, jeebee) combo - tkwidget(tt,