What is the difference between the title() method and wm_title() method in the Tkinter class?

Viewed 4926

I am using Python 2.7 and I wanted to know if there was a difference between the title() method and the wm_title() method for the Tkinter class. The following code:

import Tkinter as tk

root = tk.Tk()
root.title("My App")
root.mainloop()

and

import Tkinter as tk

root = tk.Tk()
root.wm_title("My App")
root.mainloop()

accomplishes the same thing. Is there something hidden that is going on?

1 Answers
Related