Grid made by the Label with Raised border : Table Grid : GUI Tk PYTHON examples


PYTHON examples » GUI Tk » Table Grid »

 

Grid made by the Label with Raised border


Grid made by the Label with Raised border


# simple 2d table

from Tkinter import *

for i in range(5):
    for j in range(4):
        l = Label(text='%d.%d' % (i, j), relief=RIDGE)
        l.grid(row=i, column=j, sticky=NSEW)

mainloop()

           
       



Leave a Comment / Note


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


PYTHON examples

 Navioo GUI Tk
» Table Grid