bazaar: BoostPyTest: added some more controls, now works under Linux as well

git-svn-id: svn://ultimatepp.org/upp/trunk@3552 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
kohait 2011-06-22 13:22:00 +00:00
parent 84fbf346b1
commit 1b5b6c8dd8
19 changed files with 365 additions and 30 deletions

View file

@ -0,0 +1,18 @@
#include "Common.h"
using namespace boost::python;
NAMESPACE_UPP
void ButtonOptionSetLabel(ButtonOption& c, const String& s) { c.SetLabel(s); }
void export_ButtonOption()
{
ONCELOCK
{
class_<ButtonOption, bases<Ctrl>, boost::noncopyable>("ButtonOption", "Upp ButtonOption")
.add_property("label", &ButtonOption::GetLabel, &ButtonOptionSetLabel)
;
}
}
END_UPP_NAMESPACE