title: Move tkinter canvas windows below other widgets
body: <p>I am using tk.Canvas's <code>.create_window</code> to place buttons on my canvas, to allow a 'scrolling' effect, where I can cycle through a list of buttons:
  <a href="https://i.stack.imgur.com/WpgQy.gif" rel="nofollow noreferrer">example</a></p>
  <p>As seen in the gif, there is a scrollbar on the right which allows scrolling vertically of the canvas, and the canvas created windows of buttons can be cycled through. However, as seen, the buttons overlap the scrollbar. Is it possible for the windows to be set to appear only within the canvas widget? Changing the master of the button does not have an effect:</p>
  <pre><code>button = tk.Button(self, image=self.data[i].image, anchor='nw', width=400, height=72, highlightthickness=0, bd=0, relief='flat', bg='#dfdbda', compound='left', text=&quot;thing&quot;, fg='black', font='System, 10')
  buttonwindow = self.canvas.create_window(5, 10, anchor='nw', window=button)
  </code></pre>
  <p>No matter which configuration options are given, the window still seems to pop out of the canvas widget. Why does it do this? Is there a better alternative to create_window, where I can put buttons in a canvas widget?</p>