Search
Items tagged with: Gtk
You have a #Gtk4 application, written in python with #PyGObject, which use a template to build a window.
If you define a callback in code but you do not use it in template, an exception is raised.
If you use a callback in template which is not defined in code, no errors are reported.
But.
CSS classes are not applied to widgets. 🤷
I lost some good hours trying to find why my button was not styled.
#Gtk 4.16.5
New article: "Libadwaita: Splitting GTK and Design Language"
https://tesk.page/2024/06/03/libadwaita-splitting-gtk-and-design-language/
#GNOME #GTK #Libadwaita #OpenSource #FOSS #Linux #GTK4 #Development
Libadwaita: Splitting GTK and Design Language
Recently, the Linux Mint Blog published Monthly News – April 2024, which goes into detail about wanting to fork and maintain older GNOME apps in collaboration with other GTK-based desktop environments.TheEvilSkeleton
https://flathub.org/apps/details/info.febvre.Komikku
This is an opportunity to give some figures:
- 63,000 installations (Flatpak)
- Translations into 17 languages
- ~60 contributors (including translators)
- 2400 commits
- Almost 5 years of development
Another version will be published (next week?) for the release of #GNOME 45.
Happy reading
#GTK #libadwaita #manga #comics
I wasn't even aware of an eventual X12...
He knows what he says. My only hope is we can keep the #network transparency that we all loved in #X11 (even if according to https://lwn.net/Articles/553415/ X11 is not really transparent anymore)
https://news.slashdot.org/story/22/07/05/2110211/gtk-5-might-drop-x11-support-says-gnome-dev
The Wayland Situation: Facts About X vs. Wayland (Phoronix)
Over at Phoronix, Eric Griffith has attempted to set the record straight on X and Wayland, with assistance from X/Wayland developer Daniel Stone.lwn.net
- lots of UI papercuts fixed
- better feedback on file and folder import
Get it on Flathub: https://flathub.org/apps/details/io.bassi.Amberol
#gnome #gtk #libadwaita
Flathub—An app store and build service for Linux
Find and install hundreds of apps and games for Linux. Enjoy GIMP, GNU Octave, Spotify, Steam and many more!flathub.org
Today I've worked on a little on my toy python-only Gtk UI Light Language (GULL), which is an experiment to write a lighter, more compact, UI definition file for #GTK instead of XML.
My experiment works only with python, as the code which parse and build widgets is all in python/py-gobject . It has also some nice functionality, like import other definition files as widgets and python module to connect functions to events. Oh and probably will ever support only Gtk3, because it's a toy, I'm lazy and I didn't started to look into Gtk4 yet...
I was thinking about writing a "converter" from my format into XML, to be able to use it via standard GtkBuilder.
My ugly code is here: https://git.sr.ht/~fabrixxm/gull
And now I stumbled on this https://www.jwestman.net/2021/10/22/a-markup-language-for-gtk.html by @James Westman
I see we both come on that from the same thread on #GNOME discourse 😀
https://discourse.gnome.org/t/simplify-our-ui-declarative-language-a-strawman-proposal/2913/20
A Markup Language for GTK
GTK has an XML-based format for declaratively constructing user interface components, but I've wanted to make a dedicated markup language for quite a while. This is my new prototype.www.jwestman.net