Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图在某些 GUI 中使用 iwidgets,我想让组合框不可编辑。根据 activetcl 文档,-editable为组合框提到了该选项,但它不起作用。
-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
自己找到了答案。“国家限制”作品