当在应用程序之外执行复制/粘贴时出现Gtk +错误 [英] Gtk+ Error when Copy / Paste performed outside of application
问题描述
我对Gtk相当陌生。我正在开发一个GUI应用程序。一切都很好,直到我按Ctrl + C,Ctrl + V复制/粘贴(在像Excel这样的外部应用程序中)。我正在使用Windows 8 64位和Mingw 32位编译器。在这个问题上任何帮助将不胜感激。
I'm fairly new to Gtk. I'm working on a GUI application. Everything works great until I press Ctrl + C, Ctrl + V to copy/paste (in an outside application like excel). I am using Windows 8 64bit with a Mingw 32bit compiler. Any help on this issue would be appreciated.
推荐答案
我设法通过诱导无限递归来触发相同的断言错误在paste_clipboard信号处理程序中调用paste_clipboard() - 有趣的乐趣!)。可能你通过更改剪贴板来回应剪贴板更改?
I managed to hit the same assertion error by inducing infinite recursion (my trick was to call paste_clipboard() inside a paste_clipboard signal handler - fun fun!). Possibly you had something that responded to a clipboard change by changing the clipboard?
这篇关于当在应用程序之外执行复制/粘贴时出现Gtk +错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!