Re: Frame button binding
Michael Lange <[email protected]>
| Newsgroups | gmane.comp.python.tkinter |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Tue, 6 Sep 2016 09:00:45 +0000 Vasilis Vlachoudis <[email protected]> wrote: > Hi all, > > I want to create a Scrolled Frame, it works nicely with the place > command however when I bind the B2-Motion, and I click the middle mouse > button on the child buttons instead of dragging it does nothing, since > they are capturing the B2 and not propagate it to the master. (...) Have you tried to simply add a binding for the event to the Frame's children, as in b = Button(f, text="Button") b.pack() b.bind("<Button-2>", dragStart) ? Best regards Michael .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. No more blah, blah, blah! -- Kirk, "Miri", stardate 2713.6