Searched refs:py_widget (Results 1 – 1 of 1) sorted by relevance
64 auto py_widget = module_.attr("DerivedWidget")("The question"); variable65 auto message = py_widget.attr("the_message");68 const auto &cpp_widget = py_widget.cast<const Widget &>();157 auto py_widget = py_module.attr("DerivedWidget")("Hello after restart"); variable158 REQUIRE(py_widget.attr("the_message").cast<std::string>() == "Hello after restart");