UI\Controls\Button::__construct » « UI\Controls\Check::setText PHP 手册 函数参考 图形用户界面(GUI) 扩展 UI Button Control (UI 0.9.9) 简介 Represents a labelled clickable button 类摘要 class UI\Controls\Button extends UI\Control { /* Constructor */ public __construct(string $text) /* 方法 */ public getText(): string protected onClick() public setText(string $text) /* 继承的方法 */ public UI\Control::destroy() public UI\Control::disable() public UI\Control::enable() public UI\Control::getParent(): UI\Control public UI\Control::getTopLevel(): int public UI\Control::hide() public UI\Control::isEnabled(): bool public UI\Control::isVisible(): bool public UI\Control::setParent(UI\Control $parent) public UI\Control::show() } 目录UI\Controls\Button::__construct — Construct a new ButtonUI\Controls\Button::getText — Get TextUI\Controls\Button::onClick — Click HandlerUI\Controls\Button::setText — Set Text 发现了问题? 了解如何改进此页面 • 提交拉取请求 • 报告一个错误 +添加备注 用户贡献的备注 此页面尚无用户贡献的备注。 备份地址:http://www.lvesu.com/blog/php/class.ui-controls-button.php