mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-03 14:16:46 -06:00
bazaar: PyConsoleCtrl: history functionality, BoostPyTest: Value exposure as int, first try, starting upp module
git-svn-id: svn://ultimatepp.org/upp/trunk@3339 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f74addaae5
commit
d4d3d7f8ad
16 changed files with 321 additions and 109 deletions
20
bazaar/BoostPyTest/SliderCtrlPy.cpp
Normal file
20
bazaar/BoostPyTest/SliderCtrlPy.cpp
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#include "SliderCtrlPy.h"
|
||||
|
||||
void export_UppCtrl()
|
||||
{
|
||||
scope().attr("__doc__") = "ctrl module's docstring";
|
||||
class_<SliderCtrlPy, boost::noncopyable>("SliderCtrlPy", "A SliderCtrl wrapper", no_init)
|
||||
.def("get", &SliderCtrlPy::Get)
|
||||
.def("set", &SliderCtrlPy::Set)
|
||||
;
|
||||
}
|
||||
|
||||
void export_SliderCtrl()
|
||||
{
|
||||
scope().attr("__doc__") = "SliderCtrl module's docstring";
|
||||
class_<SliderCtrl, boost::noncopyable>("SliderCtrl", "An Upp SliderCtrl", no_init)
|
||||
.def("get", &SliderCtrl::GetData)
|
||||
.def("set", &SliderCtrl::SetData)
|
||||
;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue