Oops, i got the wrong person.
Thanks Peter. I was able to achieve the blinking functionality.
Thanks,
Sathish
On Tue, Feb 22, 2011 at 10:44 PM, Peter Otten <__pete...@web.de> wrote:
> Terry Reedy wrote:
>
> > On 2/22/2011 6:50 AM, Peter Otten wrote:
> >> import Tkinter as tk
> >> from itertool
Jeff,
Thanks a lot. It worked great for me as well.
Thanks,
Sathish
On Tue, Feb 22, 2011 at 10:28 PM, Jeff Hobbs wrote:
> On Feb 22, 8:48 am, Terry Reedy wrote:
> > On 2/22/2011 6:50 AM, Peter Otten wrote:
> >
> > > import Tkinter as tk
> > > from itertools import cycle
> >
> > > root = tk.T
Terry Reedy wrote:
> On 2/22/2011 6:50 AM, Peter Otten wrote:
>> import Tkinter as tk
>> from itertools import cycle
>>
>> root = tk.Tk()
>> text = tk.Text(root, font=("Helvetica", 70))
>> text.pack()
>>
>> text.insert(tk.END, "Hello, geocities")
>> text.tag_add("initial", "1.0", "1.1")
>> text.ta
On Feb 22, 8:48 am, Terry Reedy wrote:
> On 2/22/2011 6:50 AM, Peter Otten wrote:
>
> > import Tkinter as tk
> > from itertools import cycle
>
> > root = tk.Tk()
> > text = tk.Text(root, font=("Helvetica", 70))
> > text.pack()
>
> > text.insert(tk.END, "Hello, geocities")
> > text.tag_add("initial
On 2/22/2011 6:50 AM, Peter Otten wrote:
import Tkinter as tk
from itertools import cycle
root = tk.Tk()
text = tk.Text(root, font=("Helvetica", 70))
text.pack()
text.insert(tk.END, "Hello, geocities")
text.tag_add("initial", "1.0", "1.1")
text.tag_add("initial", "1.7", "1.8")
colors = cycle("
Sathish S wrote:
> Hi Ppl,
>
> I'm using the Tkinter Text Widget in my user interface. I'm trying to
> create a blinking effect for this Text Widget. I saw from the
> documentation I can set the color if the widget when I create it.
>
> x=Text(root,bg='#CFF')
>
> However, I couldn't find any pr
> Hey guys. I am having trouble understanding the get() method from
> the Tkinter Text() widget. It isn't like the entry.get() one I am
> used to. I know you have to put tags in, or at least I read. I
> tried this but it didn't work. I think I was putting the tags in
> wrong but I am not su
After some Google searching I found "ScrolledText", this does what I
want :^)
from Tkinter import *
from ScrolledText import ScrolledText
root = Tk()
text = ScrolledText(root, font=("Courier"))
ScrolledText
text.pack()
i='123456789abcdefghijklmnopqrstuvwxyz\n'
for x in range(30):
text.insert(
On Oct 7, 11:00 am, Simon Forman <[EMAIL PROTECTED]> wrote:
> On Oct 6, 11:18 pm, goldtech <[EMAIL PROTECTED]> wrote:
>
>
>
> > I thought the "DISABLED" made it so I could not edit it. But it also
> > makes it so I can not scroll down. If you make the window smaller than
> > the content then try to
On Oct 6, 11:18 pm, goldtech <[EMAIL PROTECTED]> wrote:
> I thought the "DISABLED" made it so I could not edit it. But it also
> makes it so I can not scroll down. If you make the window smaller than
> the content then try to put a cursor in there to use up/down arrow you
> can't.
>
> What I want i
> You can scroll, but you can't see the cursor. Use
>
> for x in range(30):
> text.insert(END, "%3d " % x + i)
>
> to check.
>
> ED
I tried it w/the line numbers. On my system I see 0-23.
But there is no way to scroll. Still the same result.
--
http://mail.python.org/mailman/listinfo/pytho
On Oct 6, 11:18 pm, goldtech <[EMAIL PROTECTED]> wrote:
> I thought the "DISABLED" made it so I could not edit it. But it also
> makes it so I can not scroll down. If you make the window smaller than
> the content then try to put a cursor in there to use up/down arrow you
> can't.
>
> What I want i
William Gill wrote:
> The tkinter text widget uses indexes to identify row:column offsets
> within the text, but it seems counter intuitive to have to convert row
> and column integers to a string like "0.1'. It's great that index can
> take a string, but what about looping through rows and col
rafi wrote:
> William Gill wrote:
>
>> The tkinter text widget uses indexes to identify row:column offsets
>> within the text, but it seems counter intuitive to have to convert row
>> and column integers to a string like "0.1'. It's great that index can
>> take a string, but what about loopi
14 matches
Mail list logo