Re: How to move the scrollbar to inside the text widget

2018-06-03 Thread Cousin Stanley
moidee...@gmail.com wrote: > I am a Newbie > > I have this code > > from tkinter import * > > root = Tk() > root.geometry("1200x1000+30+30") > # width x height + x_offset + y_offset: > T = Text(root, height=10, width=100) > T.place(x=20, y=30) > for i in range(40): >T.insert(END, "This is l

How to move the scrollbar to inside the text widget

2018-06-02 Thread moideen50
I am a Newbie I have this code from tkinter import * root = Tk() root.geometry("1200x1000+30+30") # width x height + x_offset + y_offset: T = Text(root, height=10, width=100) T.place(x=20, y=30) for i in range(40): T.insert(END, "This is line %d\n" % i) # create a vertical scrollbar to the r