Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to set bgcolor of a widget in pyqt5

self.setStyleSheet("background:red") 
# any color can be used in place of red
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #set #bgcolor #widget
ADD COMMENT
Topic
Name
2+1 =