I like toys and gadgets. So I got myself a #3dconnexion #spacemouse . Attached is the first program I wrote for it, written in #python #pygtk with #goocanvas. The program lets me control a directed cursor with the space mouse. You have a amazing and fast control, though I still fill that my brain is learning new patterns. I'm sure you could use it for games. Any ideas?

My next planned step is using it for controlling the camera in #vulkanscenegraph.

Мигрирую старый говнокод с GTK 2 на GTK 4 одновременно с переносом Py2 на Py3.

Заметка на бубущее, как ловить бектрейсы GTK ворнингов:
```
G_DEBUG=fatal_warnings gdb -ex "r" -ex "py-bt" --batch --args python src/main.py
``` #pygtk #Python

Is there a good way to reuse widgets that each have minor changes? I want a window that takes text input to rename a selected item and another that takes a user password. They're the same except for a label and hiding the password.

I was going to make a class and use inheritance, but then I'd have to pass components in as arguments, and it gets messy.

#pygtk #python #gtk #foss #dry #software #development

Czkawka, trouver et supprimer les fichiers en double, vides et cassés

Dans le prochain article, nous allons jeter un œil à czkawka. Ce programme nous permettra de rechercher et d'éliminer les fichiers en double, vides ou cassés

Well that took a bit of coaxing, finally got #Gimp 2.10.19 to build with #PyGTK bindings on #Focal in spite of Focal not shipping the PyGTK stuff for #Python 2.7. Had to pull apart a couple of DEBs from #Eoan to do it, and add some extra bits to the config step for Gimp, and tweak the pygtk-2.0.pc to suit.

But at least it now works (:*

Si te interesan las aplicaciones gráficas para entornos como #Gnome -> Foundations of #PyGTK Development, 2nd Edition https://drive.google.com/open?id=1h96VrC1T8kgC8bBOvJaU0rrJxZ4mLDY- #Python
Foundations of PyGTK Development, 2nd Edition.pdf