Skip to content
Snippets Groups Projects
Commit 6a64757a authored by marco's avatar marco
Browse files

allow to create a new GLWinBase in Python

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1813 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent ee1ed461
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ using namespace ost::gfx;
void export_GLWinBase()
{
class_<GLWinBase, GLWinBaseProxy, boost::noncopyable>("GLWinBase", no_init)
class_<GLWinBase, GLWinBaseProxy, boost::noncopyable>("GLWinBase")
.def("DoRefresh",&GLWinBase::DoRefresh)
.def("StatusMessage",&GLWinBase::StatusMessage)
;
......
......@@ -22,7 +22,7 @@ public:
virtual void DoRefresh() {
call_method<void>(self, "DoRefresh");
}
virtual void SetStereo(bool flag) { }
virtual void StatusMessage(const String& m) {
call_method<void, const String>(self, "StatusMessage", m);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment