Message control: background, font setting : MessageBox « Tkinker « Python Tutorial






Message control: background, font setting
from Tkinter import *

msg = Message(text="Oh by the way, which one's Pink?")
msg.config(bg='pink', font=('times', 16, 'italic'))
msg.pack()
mainloop()








18.21.MessageBox
18.21.1.Show error dialogShow error dialog
18.21.2.Show warning dialogShow warning dialog
18.21.3.Show information dialogShow information dialog
18.21.4.Message control: background, font settingMessage control: background, font setting
18.21.5.Simple Message WidgetSimple Message Widget