API Functions/Component

Function
Component.ActivateUserKeybinds(active)
Component.ApplyLanguageRules(stringToApplyRules) = stringWithRulesApplied
Component.AreUserKeybindsActive()
Component.BeginDragDrop(dragtype, dragdata, [callback]) = success
Component.BindEvent
Component.BindUserKey(name, keyCode) = keyCode
Component.ClearGlobalCursorOverride
Component.CreateAnchor(name) = SCENEOBJECT
Component.CreateFrame(type[, name]) = FRAME
Component.CreateRenderTarget(name, width, height[, regions]) = success
Component.CreateSceneObject(record_ref[,name]) = SCENEOBJECT
Component.CreateWidget(blueprint, parent[, name]) = WIDGET
Component.EndDragDrop(dropped)
Component.FosterWidget(child_widget, parent_widget[, fosterLevel]) = success
Component.GenerateEvent(eventName, [argtable])
Component.GetCursorPos() = x, y
Component.GetDragInfo
Component.GetFrame(name) = FRAME
Component.GetInfo() = name, title, author, description
Component.GetInputMode
Component.GetMouseButtonState() = true/false, true/false
Component.GetPanelFocus()
Component.GetRandomPlayerName() = playerName
Component.GetScreenSize() = width, height
Component.GetSetting([Component], key) = value
Component.GetSettingKeys([Component]) = {keys}
Component.GetTextureInfo(Texture[, Region]) = dims
Component.GetTitleSafe() = x, y
Component.GetUserBoundKey(name) = keycode
Component.GetWidget(id) = WIDGET
Component.HasPanelFocus() = true/false
Component.IsAddon() = isAddon
Component.IsWidget(WIDGET)
Component.Locale
Component.LookupColor(key) = {red, green, blue, alpha, rgb, argb}
Component.LookupText(key) = text
Component.PostMessage(component_name:frame_name, type_str [, data_str]) = success
Component.R5
Component.RegisterKeyAction(name, function[, trigger='press'])
Component.RemoveAnchor(ANCHOR)
Component.RemoveFrame(FRAME)
Component.RemoveLocalizationTracking(string) = text
Component.RemoveRenderTarget(name) = success
Component.RemoveSceneObject(SCENE_OBJECT)
Component.RemoveWidget(WIDGET)
Component.SaveSetting(key, value)
Component.SetDragAccept(accept)
Component.SetGlobalCursorOverride
Component.SetInputMode(modestr)
Component.SetLockoutTag
Component.SetRenderTargetRegion(textureName, idx, regionName, top, left, right, bottom) = success
Component.SetTextInput(WIDGET)
Component.UnbindEvent
Component.UnregisterKeyAction(keyActionName)
Category:Addon_API