Skip to content

What's the difference between GirCore-Adw and GirCore-Gtk-4.0? #896

Answered by fsobolev
HubKing asked this question in Q&A
Discussion options

You must be logged in to vote

Adw is libadwaita, which is extension to GTK. It uses modern styling and gives additional widgets on top of what GTK offers.
You can find libadwaita docs here: https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1-latest/
And here's GTK: https://docs.gtk.org/gtk4/

As you can find in libadwiata docs, indeed Adw.Window doesn't have title bar, it's expected to manually add window content with Adw.HeaderBar in it (or other custom decorations, but a headerbar works for most cases).

Why would one use Adw over Gtk? Is Adw a better new one than GTK 4.0?

I would say like that: GTK is general purpose toolkit, while libadwaita is extension to it for GNOME apps. If you want to create apps that foll…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by HubKing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants