bazaar: BoostPyTest: Value export for the common types, including String and ValueArray

git-svn-id: svn://ultimatepp.org/upp/trunk@3340 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
kohait 2011-04-13 21:12:59 +00:00
parent d4d3d7f8ad
commit bbc2ef5b80
12 changed files with 153 additions and 13 deletions

View file

@ -18,3 +18,12 @@ void export_SliderCtrl()
;
}
void export_ValueCtrl()
{
scope().attr("__doc__") = "ValueCtrl module's docstring";
class_<ValueCtrl, boost::noncopyable>("ValueCtrl", "An Upp ValueCtrl", no_init)
.def("get", &ValueCtrl::GetData)
.def("set", &ValueCtrl::SetData)
;
}