guiBase

From Teverse


Properties

zIndex

Type: number

rotation

Type: number

borderWidth

Type: number

visible

Type: boolean

cropChildren

Type: boolean

handleEvents

Type: boolean

borderAlpha

Type: number

className [readonly]

Type: string

borderColour

Type: colour

hoverCursor

Type: string

size

Type: guiCoord

backgroundColour

Type: colour

backgroundAlpha

Type: number

borderRadius

Type: number

position

Type: guiCoord

Inherited from baseClass:

name

Type: string
A none unique identifier

className [readonly]

Type: string
The name of the object's class

Methods

bindSizeBreakpoint

nil guiBase:bindSizeBreakpoint()

Inherited from baseClass:

getDescendants

table guiBase:getDescendants()
Returns a table of all descended objects

isContainer

boolean guiBase:isContainer()

isA

boolean guiBase:isA(string className)
Returns true if this object is derived from the className given.

destroy

nil guiBase:destroy()
Locks the object before removing it from the hierarchy. Children will also be destroyed.

getFullName

string guiBase:getFullName()
Returns a string including ancestor names

constructor

nil guiBase:constructor()

destroyAllChildren

nil guiBase:destroyAllChildren()
Invokes the destroy method on each child of this instance.

hasChild

boolean guiBase:hasChild(string name)
Returns true if this object has a child with the name given

isDescendantOf

boolean guiBase:isDescendantOf(baseClass ancestor)
Returns true if this object is a descendant of the ancestor object given

describe

nil guiBase:describe()

clone

variant guiBase:clone()
Creates and returns a copy of this object

Events

keyUnfocused

eventListener guiBase:keyUnfocused(function())

mouseFocused

eventListener guiBase:mouseFocused(function())

keyReleased

eventListener guiBase:keyReleased(function())

mouseRightDragged

eventListener guiBase:mouseRightDragged(function())

mouseLeftDragged

eventListener guiBase:mouseLeftDragged(function())

keyFocused

eventListener guiBase:keyFocused(function())

mouseMiddleReleased

eventListener guiBase:mouseMiddleReleased(function())

mouseMiddlePressed

eventListener guiBase:mouseMiddlePressed(function())

mouseMiddleDragged

eventListener guiBase:mouseMiddleDragged(function())

mouseScrolled

eventListener guiBase:mouseScrolled(function())

mouseRightReleased

eventListener guiBase:mouseRightReleased(function())

keyPressed

eventListener guiBase:keyPressed(function())

mouseRightPressed

eventListener guiBase:mouseRightPressed(function())

mouseLeftReleased

eventListener guiBase:mouseLeftReleased(function())

mouseUnfocused

eventListener guiBase:mouseUnfocused(function())

mouseLeftPressed

eventListener guiBase:mouseLeftPressed(function())

Inherited from baseClass:

changed

eventListener guiBase:changed(function(string propertyName, variant newValuevariant))
Fired when a property changes

childAdded

eventListener guiBase:childAdded(function(baseClass child))
Fired when a child is added

childRemoved

eventListener guiBase:childRemoved(function(baseClass child))
Fired when a child is removed

destroying

eventListener guiBase:destroying(function())
Fired just before an object is destroyed.

Sub classes