Thanks, this is just what i was looking for!
One problem though. I can't get anti-aliasing working when using the widget. Anti aliasing works when i create a basic RenderWindow app without using the widget or mixing with gtkmm. So, at least i know it does work. I just can't get it to work with the widget.
I'm using linux, so i had to change one line:
this->sf::RenderWindow::Create(reinterpret_cast<HWND>(GDK_WINDOW_HWND(m_refGdkWindow->gobj())));
changed tothis->sf::RenderWindow::Create(GDK_WINDOW_XWINDOW(m_refGdkWindow->gobj()));
I tried adding the anti-aliasing parameters to the RenderWindow initializer in the widget's constructor, but it didn't help.
I tried adding the anti-aliasing parameters to the RenderWindow::Create line shown above, but that didn't help either.
Have you run into this problem? Any ideas on how to resolve it?
Thanks for your time, and for your widget!!