GIF89a;
EcchiShell v1.0
/
/
usr/
lib64/
lib64/
lib64/
python2.7/
Demo/
>")
widget.state(["!pressed"])
widget.pressed_index = None
root.bind_class("TNotebook", "", btn_press, True)
root.bind_class("TNotebook", "", btn_release)
# create a ttk notebook with our custom style, and add some tabs to it
nb = ttk.Notebook(width=200, height=200, style="ButtonNotebook")
nb.pressed_index = None
f1 = Tkinter.Frame(nb, background="red")
f2 = Tkinter.Frame(nb, background="green")
f3 = Tkinter.Frame(nb, background="blue")
nb.add(f1, text='Red', padding=3)
nb.add(f2, text='Green', padding=3)
nb.add(f3, text='Blue', padding=3)
nb.pack(expand=1, fill='both')
root.mainloop()