mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
18 lines
395 B
C++
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
|