ultimatepp/bazaar/CtrlLibBoostPy/ButtonOption.cpp
kohait 1b5b6c8dd8 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
2011-06-22 13:22:00 +00:00

18 lines
395 B
C++

#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