Yesterday I released #pygobject 3.56.0, the #Python bindings for the #GNOME platform. Because it’s a packed release, I summarised the biggest improvements in a post: https://pygobject.gnome.org/news/pygobject-3-56.html
PyGObject 3.56.0 — PyGObject

It took longer than it should have to work out how to create a button whose signal callback reports the mouse button that was pressed when clicking the button. At least I found out about creating new signals and GestureClick. There's probably a simpler way I completely missed. #PyGObject #GTK4

🐍 "The State of Python in GNOME"
with Dan Yeaw at #GUADEC2025
📅 24 July 🕒 14:15 CEST 📍 Brescia

⚙️ AsyncIO, girepository 2.0, real progress for Python in GNOME. Dan shows what’s new—and how to get involved.

🔗 https://events.gnome.org/event/259/contributions/1238/

#Python #GNOME #PyGObject #FOSS

🧠 From Open Source to Open Access.
Expanded for improved mobile support! 📱✨
A Cubed Business Solutions builds tools for creators, coders, and curious minds — from branding to automation to design systems.
This reel? Just a glimpse.
Join us where code meets clarity.
🔗 aaabs.com | @aaabscom

#opensource #gimp #pygobject #branding #webdesign #a3bs

Trying to understand how to fully leverage GNOME Workbench for GTK app development on Linux. Docs and examples seem sparse. How do you use Workbench effectively in your workflow? Any tips or best practices? #GTK #GNOME #LinuxDev #PyGObject #OpenSource #FOSS #AppDev #DevTools

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

How to Create GUI Applications In Linux Using PyGObject

PyGObject is a Python library that allows developers to create GUI applications on Linux desktops using the GTK (GIMP Toolkit) framework.

PyGObject: A Guide to Creating Python GUI Applications on Linux

A mixture of cos(), log(), 3 x floor(), 3 x sign().

It looks better than it sounds ¯\_(ツ)_/¯

#sound #PyGObject #synth #spectrum

GitHub - Taiko2k/GTK4PythonTutorial: GTK4 + Python tutorial with code examples

GTK4 + Python tutorial with code examples. Contribute to Taiko2k/GTK4PythonTutorial development by creating an account on GitHub.

GitHub

Is there anyone who is interested in taking over maintenance of this lovely chess timer app for #GNOME written in #Python? It's pretty cool (and a member of GNOME Circle!), but its maintainer, the wonderful Clara Hobbs, is stepping away from the project. If this sounds interesting to you, reach out to them!

https://gitlab.gnome.org/World/chess-clock

#GTK #PyGObject #GNOMECircle

World / Chess Clock · GitLab

Time games of over-the-board chess

GitLab