Skip to content
Snippets Groups Projects
Commit 42015705 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Add OSGWidget::wid to get access to the window ID from Python.

parent 01fb2870
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,8 @@ namespace gepetto {
/// Replace the camera at her home position.
virtual void onHome();
int wid () const;
void addFloor();
void attachToWindow (const std::string nodeName);
......
......@@ -165,6 +165,11 @@ namespace gepetto {
return wid_;
}
int OSGWidget::wid() const
{
return int(wid_);
}
graphics::WindowManagerPtr_t OSGWidget::window() const
{
return wm_;
......
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