RSS

Пятница, 19.04.2024, 13:21
Главная » WoW API » API Виджеты »

Кнопка

[ Добавить запись ]

В категории материалов: 68
Показано материалов: 1-50
Страницы: 1 2 »

Название Описание
CheckButton:UnlockHighlight() Unlocks the button's highlight state.
CheckButton:SetText("text") Sets the text displayed as the button's label.
CheckButton:SetPushedTexture(texture) or CheckButton:SetPushedTexture("filename") Sets the texture used when the button is pushed.
CheckButton:SetPushedTextOffset(x, y) Sets the offset for moving the button's label text when pushed.
CheckButton:SetNormalTexture(texture) or CheckButton:SetNormalTexture("filename") Sets the texture used for the button's normal state.
CheckButton:SetNormalFontObject(font) Sets the font object used for the button's normal state.
CheckButton:SetMotionScriptsWhileDisabled(enabled) Sets whether the button should fire [[docs/scripts/OnEnterOnEnter]]/[[docs/scripts/OnLeaveOnLeave]] events while disabled.
CheckButton:SetHighlightTexture(texture [, "mode"]) or CheckButton:SetHighlightTexture("filename" [, "mode"]) Sets the texture used when the button is highlighted.
CheckButton:SetHighlightFontObject(font) Sets the font object used when the button is highlighted.
CheckButton:SetFormattedText("formatString", ...) Sets the button's label text using format specifiers.
CheckButton:SetFontString(fontstring) Sets the `FontString` object used for the button's label text.
CheckButton:SetDisabledTexture(texture) or CheckButton:SetDisabledTexture("filename") Sets the texture used when the button is disabled.
CheckButton:SetDisabledFontObject(font) Sets the font object used for the button's disabled state.
CheckButton:SetButtonState("state", lock) Sets the button's state.
CheckButton:RegisterForClicks(...) Registers a button to receive mouse clicks.
CheckButton:LockHighlight() Locks the button in its highlight state.
enabled = CheckButton:IsEnabled() Returns whether user interaction with the button is allowed.
width = CheckButton:GetTextWidth() Returns the width of the button's text label.
height = CheckButton:GetTextHeight() Returns the height of the button's text label.
text = CheckButton:GetText() Returns the text of the button's label.
texture = CheckButton:GetPushedTexture() Returns the texture used when the button is pushed.
x, y = CheckButton:GetPushedTextOffset() Returns the offset for moving the button's label text when pushed.
texture = CheckButton:GetNormalTexture() Returns the texture used for the button's normal state.
font = CheckButton:GetNormalFontObject() Returns the font object used for the button's normal state.
isEnabled = CheckButton:GetMotionScriptsWhileDisabled() Determines whether [[docs/scripts/OnEnterOnEnter]]/[[docs/scripts/OnLeaveOnLeave]] scripts will fire while the button is disabled.
texture = CheckButton:GetHighlightTexture() Returns the texture used when the button is highlighted.
font = CheckButton:GetHighlightFontObject() Returns the font object used when the button is highlighted.
fontstring = CheckButton:GetFontString() Returns the `FontString` object used for the button's label text.
texture = CheckButton:GetDisabledTexture() Returns the texture used when the button is disabled.
font = CheckButton:GetDisabledFontObject() Returns the font object used for the button's disabled state.
state = CheckButton:GetButtonState() Returns the button's current state.
CheckButton:Enable() Allows user interaction with the button.
CheckButton:Disable() Disallows user interaction with the button.
CheckButton:Click("button", down) Performs a (virtual) mouse click on the button.
Button:UnlockHighlight() Unlocks the button's highlight state.
Button:SetText("text") Sets the text displayed as the button's label.
Button:SetPushedTexture(texture) or Button:SetPushedTexture("filename") Sets the texture used when the button is pushed.
Button:SetPushedTextOffset(x, y) Sets the offset for moving the button's label text when pushed.
Button:SetNormalTexture(texture) or Button:SetNormalTexture("filename") Sets the texture used for the button's normal state.
Button:SetNormalFontObject(font) Sets the font object used for the button's normal state.
Button:SetMotionScriptsWhileDisabled(enabled) Sets whether the button should fire [[docs/scripts/OnEnterOnEnter]]/[[docs/scripts/OnLeaveOnLeave]] events while disabled.
Button:SetHighlightTexture(texture [, "mode"]) or Button:SetHighlightTexture("filename" [, "mode"]) Sets the texture used when the button is highlighted.
Button:SetHighlightFontObject(font) Sets the font object used when the button is highlighted.
Button:SetFormattedText("formatString", ...) Sets the button's label text using format specifiers.
Button:SetFontString(fontstring) Sets the `FontString` object used for the button's label text.
Button:SetDisabledTexture(texture) or Button:SetDisabledTexture("filename") Sets the texture used when the button is disabled.
Button:SetDisabledFontObject(font) Sets the font object used for the button's disabled state.
Button:SetButtonState("state", lock) Sets the button's state.
Button:RegisterForClicks(...) Registers a button to receive mouse clicks.
Button:LockHighlight() Locks the button in its highlight state.

1-50 51-68