Skip to content

setBackgroundColor()

Set the label's background color.

label.setBackgroundColor()

Parameters

label.setBackgroundColor(color=None)
Parameter Type Default Description
color Color None The new background color. If omitted, a color-selection dialog opens.