MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / Button

Method Button

Source/Falcor/Utils/UI/PythonUI.cpp:217–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215 using Callback = std::function<void()>;
216
217 Button(Widget* parent, std::string_view label = "", Callback callback = {}) : Widget(parent), m_label(label), m_callback(callback) {}
218
219 const std::string& get_label() const { return m_label; }
220 void set_label(std::string_view label) { m_label = label; }

Callers 2

__init__Method · 0.80
__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected