MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / label

Method label

src/app/script/api/label_script.cpp:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 }
24
25 ui::Label* label() {
26 auto label = getWidget<ui::Label>();
27 if (!label)
28 throw script::ObjectDestroyedException{};
29 return label;
30 }
31
32 DisplayType getDisplayType() override {return DisplayType::Block;}
33 Handle build() override {return new ui::Label(m_text);}

Callers 8

ItemMethod · 0.45
onPaintMethod · 0.45
onProcessMessageMethod · 0.45
activateMethod · 0.45
addTouchMethod · 0.45
exportAccelMethod · 0.45
paintLabelMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected