Skip to content

Commit 4238417

Browse files
authored
add binding on BaseGui::setConfigDir (#436)
1 parent 1fa44e8 commit 4238417

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

bindings/SofaGui/src/SofaPython3/SofaGui/Binding_BaseGui.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,17 @@ void moduleAddBaseGui(py::module& m)
4343
)doc";
4444
baseGUI.def("setBackgroundImage", &sofa::gui::common::BaseGUI::setBackgroundImage, SetBackgroundImageDoc);
4545

46+
/*
47+
* Sofa.Gui.BaseGUI.SetConfigDirectoryPath
48+
*/
49+
const auto SetConfigDirectoryPathDoc = R"doc(
50+
Set the configuration directory.
51+
52+
:param filename: Path the configuration directory to set.
53+
:type filename: str
54+
)doc";
55+
baseGUI.def_static("SetConfigDirectoryPath", &sofa::gui::common::BaseGUI::setConfigDirectoryPath, SetConfigDirectoryPathDoc);
56+
4657
}
4758

4859
} // namespace sofapython3

0 commit comments

Comments
 (0)