Cannot embed gnuplot x11 window into Gtk3 socket

后端 未结 1 1217
太阳男子
太阳男子 2021-01-14 14:48

I\'m creating Gtk::Socket in my Gtk3 (actually, gtkmm) application and trying to embed gnuplot\'s window into it. But it does not work: the socket remains to stay as a black

相关标签:
1条回答
  • 2021-01-14 15:25

    It seems that recent updates allow this to be fixed via a #define. Pull gnuplot (5.2.5 is what I have) and build locally with the following changed in the config.hin file before you build:

    #undef EXTERNAL_X11_WINDOW to #define EXTERNAL_X11_WINDOW

    Then follow the provided instructions to install and you should be set!

    0 讨论(0)
提交回复
热议问题