mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-17 22:03:07 -06:00
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:
parent
d4d3d7f8ad
commit
bbc2ef5b80
12 changed files with 153 additions and 13 deletions
|
|
@ -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)
|
||||
;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue