用 C 语言开发 gedit 插件
我有兴趣用 C 编写 gedit-plugins。我检查了 Gedit/NewMDIPluginHowTo< /a>
...但没有任何运气。
如何获得有关用 C 语言编写 gedit 插件的更多信息?
I'm Interested in writing gedit-plugins in C. I've checked Gedit/NewMDIPluginHowTo
...but haven't had any luck with it.
How can I get more information about writing gedit plugins in C?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您愿意使用 Python,这里是编写 gedit 插件的教程Python。
If you're willing to use Python instead, here is a tutorial for writing gedit plugins in Python.
唯一的教程是您已经找到的教程:
Gedit/NewMDIPluginHowTo
我知道乍一看可能很难理解,但是如果您阅读几次并使用基本示例进行尝试,您应该能够很快获得结果。
有什么具体的事情你不明白吗?
您还可以下载 C 语言中可用的插件示例:
https://gitlab.gnome.org/GNOME/gedit/-/tree/gnome-2-30/plugins
The only tutorial is the one you already found :
Gedit/NewMDIPluginHowTo
I know it can be hard to understand in a first view, but if you read it a few times and give it a try with a basic example, you should be able to achieve getting results quite fast.
Is there something specific that you don't understand?
You can also download some examples of plugins available in C:
https://gitlab.gnome.org/GNOME/gedit/-/tree/gnome-2-30/plugins
好吧,您可以随时向一些核心 Gedit 开发人员发送电子邮件询问您的问题,我相信他们会提供一些帮助。尝试通过 Gedit 找到它们:“帮助”>“关于”>“制作人员”。
祝你好运。
Well, you can always email some of the core Gedit developers about your question, I'm sure they have something to give. Try find them via Gedit: Help>About>Credits.
Good luck.