Handling embedded windows in Linux

Caolán McNamara caolanm at redhat.com
Tue Nov 1 09:55:33 UTC 2016


On Sat, 2016-10-29 at 10:12 +0800, meilin wrote:
> Hi!, i have a question about how to emebed libreoffice into
> gtk3 GtkWidget in Linux.


Is using the LOKDocView gtk3 widget an option for you ?
(there is a demo in libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
for the gtktiledviewer)

Because if that is an option then everything is probably far easier to
get working. While anything going down the "use a native window as
parent" gets into XEMBED and the non-X (i.e. wayland) path is totally
unimplemented and the X path for gtk3 is probably at least partially
implemented and even if it is implemented will only be as good as the
gtk2 implementation and XEMBED always has some problem or other which
eventually will drive you to despair.

C.


More information about the LibreOffice mailing list