Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

tkinter button background color mac

#Use highlightbackground=color
#For example:

submit = Button(root, text="Generate", highlightbackground='#3E4149')
Comment

how to set background color for a button in tkinter

from tkinter import *
root = Tk()
button = Button(root, bg='red')  # Background color = red
button.pack()
root.mainloop
Comment

PREVIOUS NEXT
Code Example
Python :: how to move the pointer on screen using python 
Python :: remove characters in array of string python 
Python :: nlargest 
Python :: pyspark take random sample 
Python :: one hot encoding python pandas 
Python :: how to run function on different thread python 
Python :: python os exists 
Python :: flask return html 
Python :: average within group by pandas 
Python :: from sklearn.metrics import classification_report 
Python :: migrate using other database django 
Python :: hello world flask python 
Python :: dataframe from arrays python 
Python :: how to insert sound in python 
Python :: python datetime time in seconds 
Python :: python if else variable assignment 
Python :: python create 2d array deep copy 
Python :: pytorch save model 
Python :: python read png file 
Python :: SafeERC20: low-level call failed 
Python :: comparing file content in python 
Python :: convert from epoch to utc python 
Python :: on member leave event in discord.py 
Python :: from PyQt5 import Qsci 
Python :: python nmap 
Python :: rename columns in dataframe 
Python :: python dataframe column string to integer python 
Python :: python get dates between two dates 
Python :: python print no end of line 
Python :: why men are better than woman 
ADD CONTENT
Topic
Content
Source link
Name
5+3 =