TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Writing Tiny Desktop Apps in C and GTK3 (2022)

64 点作者 aard6 个月前

5 条评论

openrisk6 个月前
&gt; You&#x27;d better not dare write your desktop application in HTML. What has this world come to???<p>Ok thats clear. But then ten sentences later:<p>&gt; Of course, you aren&#x27;t going to write your UI in C, only an idiot would do that. Instead, you want to write it in some kind of markup language.<p>Now, let me think of some markup language that is universally known and has at least <i>some</i> pretence to be about laying out information on a screen... Thats right, html.<p>The thing with UI frameworks in the 21st century of flying cars, AGI and rapidly approaching Singularity, is that its a stagnating mess.<p>There should be a nice, standardized, cross-platform, easy to get started and progressively expandable way to build high quality visual apps. For some elusive reason, we cant have good things.
评论 #42097504 未加载
评论 #42096074 未加载
评论 #42096139 未加载
plowjockey6 个月前
Trivial examples of Gtk+ apps seem to be legion but to find a decent tutorial that works its way through a moderately complex and usable app seem to be scarce. In particular I haven&#x27;t found a decent example of using the GTKBuilder class and complete documentation of the XML properties seems almost nonexistent.<p>Aside from that, instead of writing a GNOME app in C, isn&#x27;t Vala or GJS the preferred language now?
评论 #42085755 未加载
评论 #42096243 未加载
评论 #42095552 未加载
nopelynopington6 个月前
Nice post but the images don&#x27;t load for me
评论 #42095458 未加载
评论 #42074093 未加载
cxr6 个月前
The author complains about Electron, but even setting aside programmers who choose it only because NPM is all they know, there are legitimate grievances to be had about desktop vendors&#x27; lack of coalescing around a common set of APIs.<p>Apple isn&#x27;t going to follow (or cooperate) with anybody, and that&#x27;s fine. Frankly, I find it really, really dumb that everyone doesn&#x27;t just implement Cocoa already, even if only in order to provide a lowest common denominator.<p>(Don&#x27;t try to sell me on the virtues of Qt. Enough already. Qt fans seem to be afflicted with real problems concerning the ability to come to grips with the shortcomings of Qt.)
评论 #42095686 未加载
评论 #42095973 未加载
评论 #42096310 未加载
4b11b46 个月前
I do like this, but the browser is... for browsing _interfaces_