Skip to main content

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. 🤷

Look:
With the callback:

Without the callback:

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


100th version of #Komikku! 🎉

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


Too many requests😭
As long as #rust has #gtk and #qt support I'm happy
#Rust #GTK #Qt


"# 5 Might Drop X.11 Support, Says # Dev" Oh no, our beloved @ebassi got the #-like illness!!! 😜
I wasn't even aware of an eventual X12...
He knows what he says. My only hope is we can keep the # transparency that we all loved in # (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


New # release, hot off the presses:
- lots of UI papercuts fixed
- better feedback on file and folder import

Get it on Flathub: https://flathub.org/apps/details/io.bassi.Amberol

# # #


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

This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website.

⇧