I just started writing GNOME applications using PyGObject. It's been a constant struggle so far, as I can't seem to find much practical documentation for Gtk 4.0. gi.require_version('Gtk', '4.0') It seems to me that all the examples written as of June 2025 are for Gtk 3.0 Here's an example. I made a button, but the button takes up all the space in the window. How do you force a specific size for the button? I heard about using css to style widgets. Is this bad practice? What is the purpose of Gtk.Box? ...and many other questions. Thanks in advance, y'all Continue reading...