0

Am looking for best practises of displaying document info in tkinter messagebox

from tkinter import *
from tkinter import messagebox

def profile():
    messagebox.showinfo("info","college\tNew student\tGraduating students\noak institue\t202\t210\nPine college\t143\t121")

root =Tk()
root.geometry("200x200")

C = Button(text="copyright",command=profile).pack()

root.mainloop()

I think if am going to type all the info in the document the arrangement is going to get distort and not readable for the user .

I have attached a pdf file named "Display in messagebox tkinter"

2
Contributors
3
Replies
20
Views
3 Weeks
Discussion Span
Last Post by rproffitt
0

Have tried it but am not satifies with it , by the way thanks for your suggestion.

0

My thinking on this is this:

Message boxes are for simple interaction.
Dialog boxes are for more complex but simple interaction.
Anything more and it's a "form" or new screen where you have full control.

In other words, you scale up to what the solottion calls for.

Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.