class ButtonWidgetSource
ButtonWidget › UIWidget › Widget › Managed
Part of Widget UI system
All members, including inherited
Methods 9
proto native bool GetState()Referenced by ProfileOptionsUI.Init(), ProfileOptionsUI.SetButtonStates(), ScriptConsoleTabBase.Select()
Show 1 more
, ServerBrowserTabPc.UpdatePageButtons()proto native void SetText(string text)Referenced by ContextMenu.AddEx(), ContextMenu.Remove(), EmbededButtonScript.OnWidgetScriptInit()
Show 19 more
, HudDebugWinCharAgents.AddAgent(), HudDebugWinCharModifiers.AddModifier(), InGameMenuXbox.Init(), KeybindingElement.OnMouseButtonUp(), KeybindingElement.Reload(), KeybindingElement.SetElementTitle(), KeybindingElement.StartEnteringAlternateKeybind(), KeybindingElement.StartEnteringKeybind(), KeybindingElementNew.OnMouseButtonUp(), KeybindingElementNew.Reload(), KeybindingElementNew.SetElementTitle(), KeybindingElementNew.StartEnteringAlternateKeybind(), KeybindingElementNew.StartEnteringKeybind(), SceneEditorMenu.OnClick(), ScriptConsoleItemsTab.SetTextSpawnButton(), ServerBrowserTabPc.ButtonCancelToRefresh(), ServerBrowserTabPc.ButtonRefreshToCancel(), ServerBrowserTabPc.UpdatePageButtons(), and VideoPlayer.CreateVideoLoadingEntry()proto void GetText(out string text)Referenced by MainMenuButtonEffect.Update()
proto native void SetTextHorizontalAlignment(int align)align- ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT
proto native void SetTextVerticalAlignment(int align)align- ALIGN_CENTER, ALIGN_TOP, ALIGN_BOTTOM
proto native float GetTextProportion()Get text proportion - ratio between button height and button text height in interval <0,1>
proto native void SetTextProportion(float val)Set text proportion - ratio between button height and button text height in interval <0,1>