Button Font

Thre Are Different aType of Font in Button Like Times, Helvetica, Serif, Verdana, Sans Serif, Times New Roman, Arial Black,Calibari, Calibari Light, Centuri, Impact Etc.


Example: Button Font

from tkinter import *

root= Tk()
root.title("Button Font")
root.config(background="#FFF8DC")
root.geometry("900x400+350+86")

btn= Button(root, text="Click Me", font=("Times", 30, "bold"))
btn.pack(pady=20)

root.mainloop()

Write Down Code Your Code Editor. To show Your Output. If Use Pycharm Press Shift+F10 and Show Your Output.



Enjoy..............

If You Want To Learn More Plz Visit www.newpost24.com


If You Find Specific link plz Follow This Page.

Post a Comment

أحدث أقدم