mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-31 07:12:39 -06:00
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:
parent
84fbf346b1
commit
1b5b6c8dd8
19 changed files with 365 additions and 30 deletions
18
bazaar/CtrlLibBoostPy/ButtonOption.cpp
Normal file
18
bazaar/CtrlLibBoostPy/ButtonOption.cpp
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue