News for hackers. Stuff that matters.
Re:Is there any future for the GTK-based Desktop Environments? by lapser on Friday April 08, 2022 @04:23AM (#30954623)
I don't know about Qt but at least GTK's docs are terribly bad. Even more so when you want to develop using a language that isn't C.
Re:Is there any future for the GTK-based Desktop Environments? by alxlaz on Friday April 08, 2022 @04:28AM (#30954653)
I'm not sure how they've kept up, as I haven't used Qt in some time, but back in the 4.x days the documentation was absolutely stellar. Extremely thorough and almost every non-trivial feature came with code samples. I couldn't for the life of me understand why anyone was using GTK at the time.
Re:Is there any future for the GTK-based Desktop Environments? by bayesian_horse on Friday April 08, 2022 @04:42AM (#30954748)
My point is not about lack of usability or documentation. Rather that the nature of HTML+CSS+JS lets you do things you can't do as easily in either GTK or QT. In the latter, yes you can easily achieve a certain kind of UI, but not deviate from it, and even formatting/displaying a significant amount of information that doesn't fit into one of the classic widgets can be a bit of a pain.
Re:Is there any future for the GTK-based Desktop Environments? by alxlaz on Friday April 08, 2022 @07:01AM (#30955492)
That depends a lot on what you're used to. It takes me far less time to implement a custom widget that can format/display a significant amount of information that doesn't fit into one of the classic widgets than it takes me to fiddle with CSS to get it to center things correctly ¯\_(ツ)_/¯.
Re:Is there any future for the GTK-based Desktop Environments? by ensiferum on Friday April 08, 2022 @07:47AM (#30955768)
Qt also has QML which allows you to do things similar to what you would have with the combination of HTML,CSS and JS
Re:Is there any future for the GTK-based Desktop Environments? by kaba0 on Saturday April 09, 2022 @12:05PM (#30969213)
Have you tried creating a custom date picker in those? I am fairly sure web tech would come out last with the infinite amount of divs here and there.
Re:Is there any future for the GTK-based Desktop Environments? by skeletal88 on Friday April 08, 2022 @05:14AM (#30954922)
Qt docs are excellent, one of the best I have used. They have high level overviews, examples and everything you ever want