title: What is correct: widget.rowconfigure or widget.grid_rowconfigure?
body: <p>When using grid geometry manager. Let's say you have:</p>
  
  <pre><code>import tkinter as tk
  from tkinter import ttk
  
  root = tk.Tk()
  root.rowconfigure(0, weight=1)
  root.columnconfigure(0, weight=1)
  ttk.Button(root, text="Hello World").grid(sticky=tk.NSEW)
  root.mainloop()
  </code></pre>
  
  <p>The part where you specify the weight of the row/column can also be coded up as:</p>
  
  <pre><code>root.grid_rowconfigure(0, weight=1)
  root.grid_columnconfigure(0, weight=1)
  </code></pre>
  
  <p><strong>For this example, what is correct method: widget.rowconfigure or widget.grid_rowconfigure? and why?</strong></p>
  
  <p>Bonus: From an implementation POV, why do both work?</p>