TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

GTK 3.99

172 pointsby severinealmost 5 years ago

14 comments

c-smilealmost 5 years ago
GTK still misses:<p>1. Anything close to AdjustWindowRectEx() function. See: <a href="https:&#x2F;&#x2F;docs.microsoft.com&#x2F;en-us&#x2F;windows&#x2F;win32&#x2F;api&#x2F;winuser&#x2F;nf-winuser-adjustwindowrectex" rel="nofollow">https:&#x2F;&#x2F;docs.microsoft.com&#x2F;en-us&#x2F;windows&#x2F;win32&#x2F;api&#x2F;winuser&#x2F;n...</a><p>2. MoveWindow(window,rect) where rect is window frame rectangle. Instead GTK has 6 other functions that do something close but no one of them do MoveWindow.<p>See: <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;58103333&#x2F;set-frame-position-of-decorated-gtkwindow-on-screen" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;58103333&#x2F;set-frame-posit...</a><p>Windows has these functions, MacOS has their direct equivalents, but GTK does not have such, IMO basic, functionality.<p>Will we have anything like that in GTK4?
评论 #24015039 未加载
评论 #24016479 未加载
评论 #24015009 未加载
评论 #24014997 未加载
评论 #24016074 未加载
qalmakkaalmost 5 years ago
The part of GTK+ I&#x27;ve always hated the most is how much it relies on GObject, which is probably one of the worst ideas ever conceived by mankind. Reinventing a whole object system using C and shitload of macros is such an aberrant idea I cannot even start ranting on why it&#x27;s an utter abomination. The fact it was born mostly from the hate the GNU project always harboured for C++ is what has always bewildered me the most. I understand that C++ in the nineties was a steaming pile of manure, but basically reinventing a poor man&#x27;s copy of Objective-C just because they desperately wanted to write their stuff in C, and nothing else, is just too much.<p>And for what? GCC was basically the reference implementation of an Objective C compiler, a language that basically boils down to an object system hastily glued on top of C. I don&#x27;t think it would have been so unreasonable to use that instead of rolling their own... I guess they had their reasons for not doing that, or not cooperating with GNUstep for that matters.<p>The irony is that has led to the creation of a million language bindings, such as Vala, Gtk#, PyGTK, Gtkmm, gjs, ... just to lower the massive learning curve of writing GTK applications in C. This is something Qt has clearly never struggled with, given that I&#x27;ve yet to see a relevant Qt app not based on C++ or (recently) QtQuick.
评论 #24016843 未加载
评论 #24016058 未加载
评论 #24016509 未加载
评论 #24016390 未加载
评论 #24016506 未加载
评论 #24016160 未加载
评论 #24016469 未加载
评论 #24017934 未加载
chungyalmost 5 years ago
It&#x27;s a serious blast to the past, and not necessarily a good one, to see versioning treated like this, where they&#x27;ll pick 3.9? as a form of alpha&#x2F;beta&#x2F;RC phases for 4.0.<p>I think semver (more-or-less a formalization of what was already becoming popular before semver got published) makes more sense. Go ahead and use 4.0-alpha.1, 4.0-beta.1, 4.0-rc.1 as needed. The strings still sort fine.
评论 #24016885 未加载
评论 #24014737 未加载
评论 #24014492 未加载
评论 #24015169 未加载
randtrain34almost 5 years ago
Can someone point me to a roadmap&#x2F;changes to be expected for GTK 4.0? I&#x27;ve looked on the blog and googled around, but couldn&#x27;t find an authoritative source.
评论 #24013981 未加载
评论 #24013974 未加载
johannes1234321almost 5 years ago
Anybody can share some recent experience with Gtk on Windows? In previous versions it worked, however results where quite &quot;special&quot; from a Windows point-of-view. Did they manage to get a more native feeling? Or is it still better to use wxwidgets on top?<p>I have some toy Qt projects for non-technical users, but with recent licensing stories around the Qt Company I&#x27;m looking at alternatives.
评论 #24017859 未加载
评论 #24026654 未加载
ohazialmost 5 years ago
Is GTK 3 -&gt; 4 expected to be as big a clusterfuck as 2 -&gt; 3?<p>I&#x27;d really rather not go through all that again.
评论 #24015043 未加载
评论 #24015311 未加载
评论 #24014369 未加载
AlexMaxalmost 5 years ago
Good for them. Does this mean we&#x27;re going to get a GNOME 4 as well? I&#x27;m quite curious to see what neat things the new version of GTK enables in practice.
评论 #24014562 未加载
techntokealmost 5 years ago
Telegram has shown the enormous potential of Qt with the latest update. Not that I have a horrible time with GTK, but Qt just feels better and lighter overall. qutebrowser is another example of the amazing potential of Qt.
评论 #24015525 未加载
评论 #24015250 未加载
评论 #24015434 未加载
Jerry2almost 5 years ago
Anyone know if they&#x27;ve finally added thumbnails aka &quot;icon view&quot; to the file picker?
评论 #24017430 未加载
评论 #24015168 未加载
Const-mealmost 5 years ago
I use it as needed, but I think it’s way too complex overall.<p>Here’s an example: <a href="https:&#x2F;&#x2F;github.com&#x2F;Const-me&#x2F;Vrmac&#x2F;blob&#x2F;master&#x2F;RenderSamples&#x2F;09-VideoPlayer&#x2F;GTK.cs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Const-me&#x2F;Vrmac&#x2F;blob&#x2F;master&#x2F;RenderSamples&#x2F;...</a><p>Win32 equivalent: <a href="https:&#x2F;&#x2F;github.com&#x2F;Const-me&#x2F;Vrmac&#x2F;blob&#x2F;master&#x2F;RenderSamples&#x2F;09-VideoPlayer&#x2F;Win32.cs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Const-me&#x2F;Vrmac&#x2F;blob&#x2F;master&#x2F;RenderSamples&#x2F;...</a>
pxialmost 5 years ago
What a bargain! All that amazing software for just $3.99 :)<p>But seriously, thanks folks. Enjoying your stuff every day
dilandaualmost 5 years ago
GTK is openly hostile to 3rd party developers and theme makers, ever since gtk became synonymous with gnome (around 3.0). This is going to be a nightmare for open-source developers and distros, which will likely be forced to support both for a long time to come.<p>Me? I&#x27;ll keep writing tcl&#x2F;tk applications. It&#x27;s stable, cross-platform, and did I mention it&#x27;s stable?
marsroveralmost 5 years ago
Still waiting for an acrylic blur (or some other type of blur) to bring Gnome to parity with modern desktops.
评论 #24013898 未加载
klysmalmost 5 years ago
Does the .99 versioning irk anybody else? It seems like a very inelegant solution.
评论 #24015552 未加载