Re: {Possible_Spam} Re: {Possible_Spam} tkinter text editor

2007-03-09 Thread John McMonagle
-- Original Message --- From: Gigs <[EMAIL PROTECTED]> To: John McMonagle <[EMAIL PROTECTED]> Sent: Sat, 10 Mar 2007 15:13:20 +0100 Subject: {Possible_Spam} Re: {Possible_Spam} tkinter text editor > John McMonagle wrote: > > Gigs_ wrote: > &g

Re: {Possible_Spam} tkinter text editor

2007-03-08 Thread John McMonagle
Gigs_ wrote: > I'm writing text editor. > > How to enable/disable (cut, copy etc.) when text is selected/not selected Bind the Button1-ButtonRelease event to a function which checks the length of the SEL tag of the text widget. If it is zero length, disable the appropriate menu entries, if it

Re: tkinter text editor

2007-03-08 Thread James Stroud
Gigs_ wrote: > 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 = 'diable

Re: tkinter text editor

2007-03-08 Thread Gigs_
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 >

Re: tkinter text editor

2007-03-08 Thread jim-on-linux
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 Wige

tkinter text editor

2007-03-08 Thread Gigs_
I'm writing text editor. How to enable/disable (cut, copy etc.) when text is selected/not selected -- http://mail.python.org/mailman/listinfo/python-list

Re: tkinter text editor

2007-03-08 Thread Gigs_
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 -- http://mail.python.org/mailman/listinfo/python-list