Tkinter Text tags

Thread Solved

Join Date: Mar 2006
Posts: 5
Reputation: JabaPyth is an unknown quantity at this point 
Solved Threads: 2
JabaPyth JabaPyth is offline Offline
Newbie Poster

Tkinter Text tags

 
0
  #1
Mar 1st, 2006
For the Tkinter Text widget, is there a way to assign the selected text to a new tag?(other than 'sel',which changes)
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 3,954
Reputation: vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice 
Solved Threads: 917
Moderator
vegaseat's Avatar
vegaseat vegaseat is offline Offline
DaniWeb's Hypocrite

Re: Tkinter Text tags

 
0
  #2
Mar 2nd, 2006
Can you give us an example what you mean with "new tag"?
May 'the Google' be with you!
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 5
Reputation: JabaPyth is an unknown quantity at this point 
Solved Threads: 2
JabaPyth JabaPyth is offline Offline
Newbie Poster

Re: Tkinter Text tags

 
0
  #3
Mar 2nd, 2006
Sorry, i've solved it on my own. In the tkinter text widget, tags are used for formatting:
Text.add_tag(name='myTag',start=1.0,stop=END,font='ariel 20')

Thanks anyway! :cheesy: :mrgreen:
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 1,514
Reputation: Ene Uran has a spectacular aura about Ene Uran has a spectacular aura about 
Solved Threads: 168
Ene Uran's Avatar
Ene Uran Ene Uran is offline Offline
Posting Virtuoso

Re: Tkinter Text tags

 
0
  #4
Mar 8th, 2006
Where can you find more info on the tkinter text widget?

I have played with Tkinter GUI just a little and find it very nice.
drink her pretty
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Python Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC