用C语言开发可停靠GUI的库 [英] Libraries for Dockable GUI Development in C

查看:236
本文介绍了用C语言开发可停靠GUI的库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用C API进行开发的最著名的Dockable GUI有哪些?

What are some of the best known Dockable GUI developments, with a C API?

我了解 wxWidgets ( GTK + ,我听说过在谈到跨平台时有点痛苦,而且似乎没有对接功能.

I know about wxWidgets (wxAUI), but there doesn't seem to be a C API for that, and I also know about GTK+, which I've heard is a bit of a pain when talking about cross-platform and it doesn't seem to come with docking features.

这样的库是否存在,它们的优缺点是什么?

Do such libraries even exist, and what are their pros and cons?

推荐答案

GTK的对接库为 GDL .

大多数GUI库不具有停靠功能并不奇怪.扩展坞的功能用途非常有限-您想将其用于IDE以及带有许多工具(例如Photoshop)的程序,但最好避免使用简单的程序.善意的开发人员喜欢将对接作为一种使应用程序尽可能可自定义的方法,但是好的工具包将消除这种诱惑,并鼓励开发人员仅使界面简单而不是可自定义.

It's not so surprising that most GUI libraries wouldn't come with docking features. Docking is a feature with quite limited usefulness - you'd want to use it for IDEs, and programs with lots of tools like Photoshop, but for simpler programs it's best avoided. Well-meaning developers love docking as a way to make their applications as customizable as possible, but a good toolkit will remove that temptation and encourage developers to just make the interface simple rather than customizable.

GtkToolPalette ,以及可以打开和关闭的子组.

One thing that is available in GTK without any extra dependencies in GTK is GtkToolPalette, with subgroups that you can open and close.

这篇关于用C语言开发可停靠GUI的库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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