38 auto prefix = text(s.state ?
"▼ " :
"▶ ");
39 auto t = text(s.label);
46 return hbox({prefix, t});
48 Add(Container::Vertical({
49 Checkbox(std::move(label), show_.operator->(), opt),
50 Maybe(std::move(child), show_.operator->()),
56 return Make<Impl>(std::move(label), std::move(child), show);
|ButtonOption|、|CheckboxOption|、|RadioboxOption|、|MenuEntryOption|、|MenuOption|からの変換の引数。