Classic GTK1 GUI Library

(gitlab.com)

Comments

badsectoracula 15 hours ago
Is it binary backwards compatible with Gtk1.2? AFAICT from the description it seems to be based on Gtk1.2 but it is its own thing.

I've being using Gtk 1.2 + patches[0] (which i made by combining the last release with a few patches from Slackware) to occasionally check Lazarus' Gtk1 support. It is also neat if you want to make self-contained binaries, for example this little animation utility i wrote some time ago[1] has a Gtk1-based build with Gtk1 linked statically on it and the tool relying on just X11 and OpenGL.

[0] http://runtimeterror.com/pages/badsector/gtk12/

[1] http://runtimeterror.com/tools/piecemod/

joz1-k 16 hours ago
Nice to see that someone is still maintaining the original GTK1 toolkit. It's like the classic Win32 UI API for the Linux/Unix. Linux UI libraries are a constantly moving target and one can be easily more occupied by adapting to those toolkit API changes instead of focusing on the features of the application itself. I guess that CinePaint developers decided at some point that they don't want to endure API changes in the UI toolkit anymore.

On the other hand, I think GTK1 doesn't even support Unicode.

jandrese 11 hours ago
One thing that GTK lost in the transition to GTK2 was working well over slow Internet connections. I remember how even on a dial up modem you got pretty acceptable performance out of a GTK1 app, so long as it wasn't shoving big bitmaps around. GTK2 on the other hand was always dog slow over remote X connections for no apparent reason.
rcarmo 12 hours ago
I'm so happy to know this exists because every single cross-platform UI toolkit I've used in the past few decades is more complex and weird.

(Not that GTK1 can't be complex and weird, more that we've lost the art of creating native GUI toolkits that make sense.)

HexDecOctBin 15 hours ago
Somewhat tangential: Is there a lightweight distribution of GTK2? I was shopping for a cross-platform GUI library with a C API, and GTK2 seemed like the right choice. But the Windows distribution [1] had 30-40 DLLs and none of them seemed to be optional in DependencyWalker.

[1] https://github.com/tschoonj/GTK-for-Windows-Runtime-Environm...

vintagedave 16 hours ago
I never followed the history of GTK very much but reading about non-compatibility between versions surprises me, just as a matter of software engineering re a critical dependency.

I am unsure from the page, just that it implied: is there software in 2025 still using GTK v1?

thedumbname 13 hours ago
Tried to build on Windows, Mac, Linux: different errors on each platform.
itomato 12 hours ago
I was about to make a Cinepaint joke, but it seems that's already been addressed.
zerr 13 hours ago
Is Glade unmaintained nowadays? The last release is 3 years old.
Western0 14 hours ago
I like GTK but......

small example have error (memory leak) in valgrind

dsijak 13 hours ago
Ubuntu doesn’t ship libgtk1.2 anymore in standard repositories.
roschdal 15 hours ago
GTK1 is the best GTK.