This project is read-only.

UIButton

onclick

Type: event
Return: function
Description: fires when the button is clicked

id

Type: property (read/write)
Return: string
Description: an identifier for the button

x

Type: property (read/write)
Return: int
Description: the x position of the button

y

Type: property (read/write)
Return: int
Description: the y position of the button

value

Type: property (read/write)
Return: string
Description: the text contained inside the button

visible

Type: property (read/write)
Return: bool
Description: whether the button is visible on the UI panel

enabled

Type: property (read/write)
Return: bool
Description: whether the button is clickable

width

Type: property (read/write)
Return: int
Description: the width of the button

height

Type: property (read/write)
Return: int
Description: the height of the button

promote

Type: function
Return: void
Description: increase the z index of the button

demote

Type: function
Return: void
Description: decrease the z index of the button

Last edited Feb 6, 2014 at 2:32 PM by oobenoob, version 2