Label with border : Border « GUI Tk « Python






Label with border

Label with border

import Tkinter
root = Tkinter.Tk()
for r in range(3):
    for c in range(4):
        Tkinter.Label(root, text='R%s/C%s'%(r,c),borderwidth=3 ).grid(row=r,column=c)
root.mainloop()

           
       








Related examples in the same category

1.Titled BorderTitled Border
2.Label border: RAISED, SUNKEN, FLAT, RIDGE, GROOVE, SOLIDLabel border: RAISED, SUNKEN, FLAT, RIDGE, GROOVE, SOLID
3.Set borderSet border
4.Button Border stylesButton Border styles
5.Button BorderButton Border
6.Border for a group of check boxesBorder for a group of check boxes