Skip to content

PyNiceButton

Type: int

Type: bool

Type: bool

Type: bool

Type: bool

Type: string

Type: ushort

Type: ushort

No fields found.

No enums found.

(text) Parameters:

NameTypeOptionalDescription
textstring❌ No

Return Type: void (Does not return anything)


(hue) Parameters:

NameTypeOptionalDescription
hueushort❌ No

Return Type: void (Does not return anything)


(r, g, b, a) Sets the background color of the button. Pass null to clear.

Parameters:

NameTypeOptionalDescription
rint?❌ No
gint?❌ No
bint?❌ No
aint?✅ Yes

Return Type: void (Does not return anything)


Clears the background color of the button.

Return Type: void (Does not return anything)