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

Method Combobox

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

Source from the content-addressed store, hash-verified

294 FALCOR_OBJECT(Combobox)
295public:
296 Combobox(
297 Widget* parent,
298 std::string_view label = "",
299 ChangeCallback change_callback = {},
300 std::vector<std::string> items = {},
301 int value = 0
302 )
303 : Property(parent, label, change_callback), m_items(items), m_value(value)
304 {}
305
306 const std::vector<std::string>& get_items() const { return m_items; }
307 void set_items(const std::vector<std::string>& items) { m_items = items; }

Callers 1

__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected