tkinter text editor

Gigs_ gigs at hi.t-com.hr
Fri Mar 9 20:31:17 CET 2007


jim-on-linux wrote:
> On Friday 09 March 2007 12:04, Gigs_ wrote:
>> Gigs_ wrote:
>>> I'm writing text editor.
>>>
>>> How to enable/disable (cut, copy etc.) when
>>> text is selected/not selected
>> Btw it is cut copy ... in edit menu
> 
> 
> state = 'diabled'   ## no change allowed
>                            ## to Text Wiget  
> 
> state = 'normal'  ## default for Text Wiget
> 
> jim-on-linux
> http:\\www.inqvista.com
yes man but i want to make that when there is no selected text this menu 
items go DISABLED and when text is selected this menu items go NORMAL



More information about the Python-list mailing list