什么是可用于gtk +开发的IDE [英] What are the IDEs available for gtk+ development

查看:313
本文介绍了什么是可用于gtk +开发的IDE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我开始学习C / gtk +编程。并且想问一个问题:除了命令行界面外,可用于C / gtk +开发的IDE有哪些?



谢谢。


<在我的(有偏见的)意见和经验中,你最好通过命令行编译和你最喜欢的编辑器学习GTK(gedit,kate,vi,emacs,随你)。这样,您可以按自己的步调学习,而不是试图解决一个真正不适合初学者的大型复杂IDE。尽管如此,请注意devhelp(GTK的开发文档程序)并尝试用glade3构建几个GUI并在C程序中使用它们。



这可能不是您的答案但是我觉得C / C ++ GUI IDE往往会吸引人,至少对初学者来说是这样。

rel =nofollow noreferrer> Anjuta 可以做C / GTK +,但我个人对它并不是很印象深刻。它会问你想用什么插件打开.glade文件,新项目是用autoconf构建的(导致70个文件被一个简单的Hello world混乱),默认情况下用gettext进行本地化(导致一堆样板文件代码在main.c中),当你调用奇怪的边界情况,例如双击刚创建的按钮时,它会弹出对话框:



从初学者的角度来看,我对Anjuta的印象是非常消极的。它显示了大量的高级选项,但不会让您在没有很多麻烦的情况下执行基本任务。安朱塔并不孤单。总的来说,我不相信我曾经为任何GUI工具包找到过(成熟的)C / C ++ IDE,这对于像我这样的初学者来说很简单。


Recently i start to studying C/gtk+ programming. And want to ask one question: what are the IDEs available for C/gtk+ development apart from command line interface?

Thank you.

解决方案

In my (biased) opinion and experience, you're better off learning GTK by command-line compilation and your favorite editor (gedit, kate, vi, emacs, whatever). This way, you can learn at your own pace rather than trying to grapple with a big complicated IDE that really isn't beginner-friendly. Nonetheless, be aware of devhelp (GTK's development documentation program) and try building a couple GUIs with glade3 and using them in your C programs.

This might not be the answer you want, but I feel that C/C++ GUI IDEs tend to suck, at least for beginners.

Anjuta can do C/GTK+, but I personally wasn't very impressed with it. It asks you what plugin you want to open .glade files with, new projects are built with autoconf (resulting in a mess of over 70 files for a simple "Hello world") and localized with gettext by default (resulting in a bunch of boilerplate code in main.c), and it pops dialogs like this when you invoke weird edge cases such as double clicking a button you just created:

My impression of Anjuta from the perspective of a beginner was, as you can tell, highly negative. It shows a whole lot of advanced options, but doesn't let you do basic tasks without a lot of hassle. Anjuta is not alone. In general, I don't believe I've ever found a (mature) C/C++ IDE for any GUI toolkit that was easy for a beginner like me.

这篇关于什么是可用于gtk +开发的IDE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆