Tab Control
(UI 0.9.9)
简介
A Tab can contain many pages of Controls, each with a title, each selectable by the user.
类摘要
class UI\Controls\Tab
extends
UI\Control
{
/* 属性 */
protected
$controls;
/* 方法 */
public append(string $name
, UI\Control $control
): int
public delete(int $index
): bool
public hasMargin(int $page
): bool
public insertAt(string $name
, int $page
, UI\Control $control
)
public pages(): int
public setMargin(int $page
, bool $margin
)
/* 继承的方法 */
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()
}
属性
controls
Contains controls, should not be manipulated directly
目录UI\Controls\Tab::append — Append PageUI\Controls\Tab::delete — Delete PageUI\Controls\Tab::hasMargin — Margin DetectionUI\Controls\Tab::insertAt — Insert PageUI\Controls\Tab::pages — Page CountUI\Controls\Tab::setMargin — Set MarginUser Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/class.ui-controls-tab.php