为什么-editable在iWidget(tcl/tk)中不起作用?

为什么-editable在iWidget(tcl/tk)中不起作用?,tcl,tk,incr-tcl,Tcl,Tk,Incr Tcl,我试图在一些GUI中使用iWidget,我想使combobox不可编辑。根据activetcl文档,combobox中提到了-editable选项,但它不起作用 combobox $frm_sat1.c2 \ -textvariable [itcl::scope type] \ -state normal -entries {"1 opt" "2 opt"} -editable 0; 试试这个 $frm_sat1.c2.lwchildsite.efchildsite.arrow

我试图在一些GUI中使用iWidget,我想使combobox不可编辑。根据activetcl文档,combobox中提到了
-editable
选项,但它不起作用

combobox $frm_sat1.c2 \
    -textvariable [itcl::scope type] \
    -state normal -entries {"1 opt" "2 opt"} -editable 0;
试试这个

$frm_sat1.c2.lwchildsite.efchildsite.arrowBtn configure -state disabled
我自己找到了答案。
“-州限制”适用于哪些文件?我浏览了ActiveState的文档,没有看到任何支持
-entries
选项的组合框小部件。