Python 3 Tkinter Underline Text of Label Widget GUI Desktop App

Python 3 Tkinter Underline Text of Label Widget GUI Desktop App

Python 3 Tkinter Underline Text of Label Widget GUI Desktop App

#Import the required library
from tkinter import*
#Create an instance of tkinter frame
win= Tk()
#Define geometry of the window
win.geometry("750x250")
#Create a Label widget
label= Label(win, text= "Hey, How're you?", font= ('Helvetica 15 underline'))
label.pack()
win.mainloop()
Share on:

Hi, I'm Ranjith a full-time Blogger, YouTuber, Affiliate Marketer, & founder of Coding Diksha. Here, I post about programming to help developers.

Leave a Comment