Label on frame : Label : GUI Tk PYTHON examples


PYTHON examples » GUI Tk » Label »

 

Label on frame


Label on frame
 

from Tkinter import *

root = Tk()
#root.option_readfile('optionDB')
root.title('Canvas')
canvas = Canvas(root, width =400, height=400)

img = PhotoImage(file='./logo.gif')
frm = Frame(canvas, relief=GROOVE, borderwidth=2)
Label(frm, text="Label").pack()
canvas.create_window(285280, window=frm, anchor=CENTER)

canvas.pack()
root.mainloop()


           
         
  



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo GUI Tk
» Label