Displaying Symbols in tkinter


Basics of Python Tkinter Image in Tkinter

Adding copyright and registered symbols in Tkinter

copyright registered Trade Mark  symbols in Tkinter

Tkinter displaying copyright registered trademark and emoji symbols using Unicode chars
import tkinter as tk
my_w = tk.Tk()
my_w.geometry("400x150")  # Size of the window 

copyright = u"\u00A9"
registered = u"\u00AE"
trademark = u"\u2122" # TM 
horse = u"\u265E" #horse

font1=('Times',30,'bold')
l1=tk.Label(my_w,text=copyright + ' www.plus2net.com',font=font1) 
l1.grid(row=1,column=1,padx=10,columnspan=3)
l2=tk.Label(my_w,text=registered,font=font1) # footer messages
l2.grid(row=2,column=1,padx=4,pady=10)
l3=tk.Label(my_w,text=trademark,font=font1) # footer messages
l3.grid(row=2,column=2,padx=4)
l4=tk.Label(my_w,text=horse,font=font1) # footer messages
l4.grid(row=2,column=3,padx=4)
my_w.mainloop()  # Keep the window open

Adding emoji to Tkinter

using emoji in  in Tkinter
import tkinter as tk
my_w = tk.Tk()
my_w.geometry("410x250")  # Size of the window 
copyright=u"\u00A9"
registered=u"\u00AE"
trademark=u"\u2122"
horse=u"\u265E"
hands=u"\U0001f64f"
face1=u"\U0001F601"
face2=u"\U0001F923"
face3=u"\U0001F911"
font1=('times',30,'normal')
l1=tk.Label(my_w,text=copyright+' www.plus2net.com',font=font1)
l1.grid(row=1,column=1,padx=5,columnspan=4)
l2=tk.Label(my_w,text=registered,font=font1,fg='green')
l2.grid(row=2,column=1,padx=5)
l3=tk.Button(my_w,text=trademark,font=font1)
l3.grid(row=2,column=2,padx=5)
l4=tk.Button(my_w,text=horse,font=font1,fg='red')
l4.grid(row=2,column=3,padx=5)

l5=tk.Label(my_w,text=hands,font=font1,fg='red')
l5.grid(row=3,column=1,padx=5)
l6=tk.Label(my_w,text=face1,font=font1,fg='green')
l6.grid(row=3,column=2,padx=5)
l7=tk.Label(my_w,text=face2,font=font1,fg='blue')
l7.grid(row=3,column=3,padx=5)
l8=tk.Label(my_w,text=face3,font=font1,fg='green')
l8.grid(row=3,column=4,padx=5)
my_w.mainloop()  # Keep the window open
Image in Tkinter Resizing image using PIL Upload and display image file

Subscribe

* indicates required
Subscribe to plus2net

    plus2net.com



    Post your comments , suggestion , error , requirements etc here





    Python Video Tutorials
    Python SQLite Video Tutorials
    Python MySQL Video Tutorials
    Python Tkinter Video Tutorials
    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2021 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer