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

Method dialog

src/app/script/api/dialog_script.cpp:153–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151 }
152
153 ui::Dialog* dialog() {
154 auto dialog = handle<ui::Widget, ui::Dialog>();
155 if (!dialog)
156 throw script::ObjectDestroyedException{};
157 return dialog;
158 }
159
160 ScriptObject* get(const std::string& id) {
161 auto it = m_widgets.find(id);

Callers 1

addMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected