MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / addChild

Method addChild

source/windowing/StarStackWidget.cpp:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27void StackWidget::addChild(String const& name, WidgetPtr member) {
28 Widget::addChild(name, member);
29 if (m_members.size() != 1)
30 member->hide();
31 else
32 showPage(0);
33}
34
35}

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
hideMethod · 0.45

Tested by

no test coverage detected