有关学习 Xlib 的书籍/资源(“Linux Petzold”?)

发布于 2024-09-30 08:20:32 字数 321 浏览 10 评论 0原文

我顽固地决定学习 Linux GUI 的 Xlib 编程,只是为了乐趣和兴趣。所获得的经验。我还年轻,有大把时间看无用的东西。似乎没有人希望人们学习这一点,不过,正如我所看到的那样,提问者都被使用工具集的建议轰炸——通常是 Qt 或 wxWidgets。这有点可悲,如果没有人学习Xlib,谁会继续开发例如wxWidgets?不过,当我对 Xlib 感到满意时,我也会学习 wxWidgets。

所以 - 排除这个问题 - 我的问题是:是否有推荐的书籍(或其他资源)来学习 Xlib 编程,最好使用 C++,但 C 也可以。 Windows 编程有它的 Petzold,我想知道 Xlib 是否有某种等效的东西。

I have stubbornly decided to learn Xlib programming for Linux GUIs, just for fun & the gained experience. I'm young and have lots of time to read useless stuff. Nobody seems to want people to learn this, though, as everywhere I look, askers are being bombarded with suggestions of using a toolset instead - usually Qt or wxWidgets. This is kind of sad, if nobody learns Xlib, who will continue development of e.g. wxWidgets? I will learn wxWidgets too, though, when I feel comfortable with Xlib.

So - with that out of the way - my question is: Is there a recommended book (or other resources) for learning Xlib programming, preferably with C++, but C is OK too. Windows programming has its Petzold, I was wondering if Xlib had some sort of equivalent.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

七度光 2024-10-07 08:20:32

曾经有一整套关于 X 编程的书籍(它们实际上一直到 Xlib!),但您可能想要的是 Xlib 编程手册

一年多后,我偶然发现了一本“复古 UNIX”imgur 相册,里面有一张它的照片!与红皮书(Postscript 语言参考手册)和 O'Reilly X 系列中的另一本保持良好的关系。

There used to be a whole series of books on X programming (they actually worked their way up to Xlib!) but the one you probably want is Xlib Programming Manual

Over a year later I ran across a "retro UNIX" imgur album which has a picture of it! Keeping good company with the Red Book (the Postscript Language Reference Manual) and another in the O'Reilly X series.

浅笑依然 2024-10-07 08:20:32

我在亚马逊上找到了这个:X 编程基础

I found this on amazon: Fundamentals of X Programming

澉约 2024-10-07 08:20:32

我喜欢 Levi Reiss 和 Joseph Radin 的一篇,我认为是“X Window inside and out”(我读了翻译版本)。当然,它确实已经过时了,并且早于 Xutf8* 函数、XRender、XFt 和客户端字体、XCB、XRandr、Composite 等……

I liked one by Levi Reiss and Joseph Radin, I think it was "X Window inside and out" (I read a translated version). Of course, it's really outdated, and predates Xutf8* functions, XRender, XFt and client side fonts, XCB, XRandr, Composite, etc...

不羁少年 2024-10-07 08:20:32

我自己也找到了这些书:

http://www.amazon.com/Introduction-Window- System-Oliver-Jones/dp/0134999975/ref=sr_1_4?s=books&ie=UTF8&qid=1288651669&sr=1-4(旧且昂贵,但它是东西)

http://www.amazon.com/Window-Programming-Scratch-Jesse-Libertys/dp/0789723727/ref= sr_1_25?s=books&ie=UTF8&qid=1288651711&sr=1-25(与我能找到的大多数其他资源相比,这个是最近的,但它有一些不好的评论。也许值得一读)

http://www.amazon.com/Window-Toolkit-Complete-Programmers-Specification /dp/1555581781/ref=sr_1_44?s=books&ie=UTF8&qid=1288651754&sr=1-44 (据说不错,实际上在 Xt 上,但我想它可能值得一读

)网站似乎至少包含一些有用的东西:
http://manuals.itc.virginia.edu/unixdocs/u014.xwindows。 html

如果有人读过其中任何内容,请发表评论。

Also found these books myself:

http://www.amazon.com/Introduction-Window-System-Oliver-Jones/dp/0134999975/ref=sr_1_4?s=books&ie=UTF8&qid=1288651669&sr=1-4 (old and expensive, but it's something)

http://www.amazon.com/Window-Programming-Scratch-Jesse-Libertys/dp/0789723727/ref=sr_1_25?s=books&ie=UTF8&qid=1288651711&sr=1-25 (this one is quite recent, compared to most other resources I could find, but it's got some bad reviews. Maybe worth the read)

http://www.amazon.com/Window-Toolkit-Complete-Programmers-Specification/dp/1555581781/ref=sr_1_44?s=books&ie=UTF8&qid=1288651754&sr=1-44 (supposedly good, actually on Xt, but I guess it might be worth the read)

And this website which seems to at least contain something usable:
http://manuals.itc.virginia.edu/unixdocs/u014.xwindows.html

If anyone has read any of these, please leave a comment.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文