PHP マニュアル
関数リファレンス
GUI用の拡張モジュール
UI
はじめに
インストール/設定
UI\Point
UI\Size
UI\Window
UI\Control
UI\Menu
UI\MenuItem
UI\Area
UI\Executor
UI\Controls\Tab
UI\Controls\Check
UI\Controls\Button
UI\Controls\ColorButton
UI\Controls\Label
UI\Controls\Entry
UI\Controls\MultilineEntry
UI\Controls\Spin
UI\Controls\Slider
UI\Controls\Progress
UI\Controls\Separator
UI\Controls\Combo
UI\Controls\EditableCombo
UI\Controls\Radio
UI\Controls\Picker
UI\Controls\Form
UI\Controls\Grid
UI\Controls\Group
UI\Controls\Box
UI\Draw\Pen
UI\Draw\Path
UI\Draw\Matrix
UI\Draw\Color
UI\Draw\Stroke
UI\Draw\Brush
UI\Draw\Brush\Gradient
UI\Draw\Brush\LinearGradient
UI\Draw\Brush\RadialGradient
UI\Draw\Text\Layout
UI\Draw\Text\Font
UI\Draw\Text\Font\Descriptor
UI 関数
UI\Draw\Text\Font\Weight
UI\Draw\Text\Font\Italic
UI\Draw\Text\Font\Stretch
UI\Draw\Line\Cap
UI\Draw\Line\Join
UI\Key
UI\Exception\InvalidArgumentException
UI\Exception\RuntimeException
UI\Control::show
UI\Menu::append
UI
PHP マニュアル
Menu
はじめに
Menus must be constructed before the first Window, and can be shown on any Window
クラス概要
UI\Menu
class
UI\Menu
{
/* Constructor */
public
__construct
(
string
$name
)
/* メソッド */
public
UI\MenuItem
append
(
string
$name
,
string
$type
= UI\MenuItem::class
)
public
UI\MenuItem
appendAbout
(
string
$type
= UI\MenuItem::class
)
public
UI\MenuItem
appendCheck
(
string
$name
,
string
$type
= UI\MenuItem::class
)
public
UI\MenuItem
appendPreferences
(
string
$type
= UI\MenuItem::class
)
public
UI\MenuItem
appendQuit
(
string
$type
= UI\MenuItem::class
)
public
appendSeparator
()
}
目次
UI\Menu::append
— Append Menu Item
UI\Menu::appendAbout
— Append About Menu Item
UI\Menu::appendCheck
— Append Checkable Menu Item
UI\Menu::appendPreferences
— Append Preferences Menu Item
UI\Menu::appendQuit
— Append Quit Menu Item
UI\Menu::appendSeparator
— Append Menu Item Separator
UI\Menu::__construct
— Construct a new Menu