14 namespace visualization {
25 return impl_->widget_;
28 impl_->widget_ = widget;
29 impl_->need_layout_ =
true;
35 widget->AddChild(child);
42 return widget->GetChildren();
50 return widget->GetFrame();
66 return widget->GetBackgroundColor();
74 return widget->IsDefaultBackgroundColor();
82 widget->SetBackgroundColor(
color);
98 widget->SetVisible(vis);
113 widget->SetEnabled(enabled);
120 widget->SetTooltip(text);
128 return widget->GetTooltip();
137 return widget->CalcPreferredSize(
context, constraints);
145 return widget->CalcMinimumSize(
context);
167 if (impl_->need_layout_) {
168 impl_->need_layout_ =
false;
180 return widget->Mouse(e);
191 return widget->Key(e);
Generic file read and write utility for python interface.