hello
I have been doing a lot of Tkinter lately and I was wondering of there is a way i fit a scroll bar into a text wdiget using the .grid() method.
right now the code i have writen is:
from Tkinter import *
root = Tk()
text = Text(root)
text.grid()
scrl = Scrollbar(root, command=text.yview)
text.config(yscrollcommand=scrl.set)
scrl.grid(row=0, column=1)
root.mainloop()
i know that you can use pack(side=RIGHT, fill=Y), but i don't knwo how to use pack, and i can;y use both.
can anyone tell me how to make it fit into the text using .grid()?
Thanks
The-IT