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


Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0