PIXEL UI
LabelledCheckbox

PIXEL.LabelledCheckbox

Methods

The following methods are available on the PIXEL.LabelledCheckbox panel:

PANEL:OnToggled( boolean )

Callback fired when the checkbox toggles.

PANEL:SetText( string )

Sets the label text.

string PANEL:GetText()

Gets the label text.

PANEL:SetFont( string )

Sets the label font.

string PANEL:GetFont()

Gets the label font.

PANEL:SetTextColor( Color )

Sets the label text color.

Color PANEL:GetTextColor()

Gets the label text color.

PANEL:SetAutoWrap( boolean )

Enables or disables automatic label wrapping.

boolean PANEL:GetAutoWrap()

Returns whether automatic label wrapping is enabled.