[R] How to disable existing menus in tcltk?

2007-01-22 Thread Jarno Tuimala
Hi! I've constructed a small menu-driven interface to a couple of R functions using the possibilities offered by the tcltk package. When user runs some specific analyses, I would then like to disable some of the menus (or menu choises) that are not applicable after the performed analysis. I

Re: [R] How to disable existing menus in tcltk?

2007-01-22 Thread talepanda
play below after your code and look at tk window: tkentryconfigure(editMenu,0,state=disable) tkentryconfigure(editMenu,0,state=active) tkentryconfigure(topMenu,1,state=disable) tkentryconfigure(topMenu,1,state=active) HTH On 1/22/07, Jarno Tuimala [EMAIL PROTECTED] wrote: Hi! I've