WindUI

Button

Creating Button and Editing it

Creating Button

local Button = Tab:Button({
    Title = "Button",
    Desc = "Test Button",
    Locked = false,
    Callback = function()
        print("clicked")
    end
})

Set Title

Button:SetTitle("Title Example")

Set Description

Button:SetDesc("Description Example")

Lock Element

Button:Lock()

Unlock Element

Button:Unlock()

Destroy Element

Button:Destroy()

API

Button Options

PropTypeDefault
Callback?
function
nil
Locked?
boolean
false
Desc?
string
nil
Title
string
Button

On this page