Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

boder color in tkinter

# import tkinter
from tkinter import *
 
# Create Tk object
window = Tk()
 
# Set the window title
window.title('GFG')
 
# Create a Frame for border
border_color = Frame(window, background="red")
 
# Label Widget inside the Frame
label = Label(border_color, text="This is a Label widget", bd=0)
 
# Place the widgets with border Frame
label.pack(padx=1, pady=1)
border_color.pack(padx=40, pady=40)
 
window.mainloop()
Comment

PREVIOUS NEXT
Code Example
Python :: Access Google Photo API with Python using google-api-python-client 
Python :: importing python modules from a folder 
Python :: sort dictionary by key python 
Python :: django get all model fields 
Python :: trim strings python 
Python :: python re.findall() 
Python :: python class set dict method 
Python :: reactstrap example 
Python :: change excel value in python 
Python :: items of list 
Python :: plotly facet_grid python 
Python :: ipython play audio 
Python :: remove element from pack tkinter 
Python :: tic tac toe pygame 
Python :: python dictionary with dot notation 
Python :: how can I convert dataframe to list with in python without changing its datatype? 
Python :: python find oldest and newest date 
Python :: loading a webpage with aiohttp 
Python :: pandas fill missing index values 
Python :: string remove suffix python 
Python :: string + string in python 
Python :: switch case python 3.10 
Python :: pip install 
Python :: python latest version 64 bit 
Python :: python reply to email 
Python :: python binary float 
Python :: scrape website with login python selenium 
Python :: pandas dataframe apply 
Python :: Example of ceil method in python 
Python :: Adding a new column in pandas dataframe from another dataframe with different index 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =