Libraries for Dockable GUI Development in C

柔情痞子 提交于 2019-12-11 08:19:58

问题


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

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?


回答1:


The docking library for GTK is GDL.

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.

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



来源:https://stackoverflow.com/questions/22280750/libraries-for-dockable-gui-development-in-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!