"Ron Provost" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> [snip]
> t.insert( Tk.END, sampleText )
>
> t.tag_config( 'AB', font=tkFont.Font( family='ariel', size=24,
> weight=tkFont.BOLD ) )
> t.tag_config( 'TBU', font=tkFont.Font( family='times', size=10,
> weight=tkFont.BOLD, un
Hi Ben,
if I understood your questions properly, this code gives some answers (on
XP):
from Tkinter import *
lines = [
[ (100, 200, 350, 200), LAST, "red",'' ],
[ (100, 0, 100, 200), FIRST, "green", 'a' ],
[ (100, 200, 300, 100), LAST, "purple", 'b' ],
]
ClickMax = len(
For me this:
z = tkFileDialog.askopenfilename(title='Title',
filetypes=[
('AIFF Files','*.aiff'),
("TXT Files", "*.txt"),
],
i
Try:
>
> Label(c, text="Child window").grid()
c.focus_set()
> root = Tk()
"Svennglenn" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> How do i make a child window "active" like the root window?
>
> from Tkinter import *
>
> def open_child():
> c = Toplevel(root)
>
Hi Saqib,
AFAIU, you want to change the scrollregion, not the size. So try:
def _b1PressEvt(event):
x0,y0,x1,y1 = canvas.config('scrollregion')[4]
print x0,y0,x1,y1
canvas.config(scrollregion=(int(x0),int(y0),int(x1)+100,int(y1)))
First click will show nothing, because first change k