On Sat, 7 Jun 2014 00:03:45 +0800 Haojian Wu wrote:
HW> Thanks for your suggestion. I noticed wxWindow::GetHandle() will return
HW> gtkwidget on Linux GTK+.
This might not be the widget you need though. See the comment explaining
the difference between m_widget and m_wxwindow in src/gtk/window.cpp.
HW> I know how to do it in GTK+ program, and cefclient
HW> <
https://code.google.com/p/chromiumembedded/source/browse/branches/1650/cef3/tests/cefclient/cefclient_gtk.cpp>is
HW> a good example.
HW>
HW> But I think there are still some differences between GTK and wxGTK.
HW>
HW> Can we create a gtk vbox widget in wxGTK? cefclient hosts the browser
HW> window to gtk vbox.
If it needs to be a GtkBox, you'll have to create it yourself. But you
should be able to put this box inside the parent window using its widget as
parent. I.e. while wxGTK doesn't support this out of the box, you can still
do it.
Regards,
VZ