rra 2020-10-09 18:16:54 +02:00
parent 513b099073
commit d9b41fbd0f

22
Home.md

@ -1 +1,21 @@
Hi, here we collect some documentation and resources for developing with Python GTK & Glade Hi, here we collect some documentation and resources for developing with Python GTK & Glade
# Links to documentation
https://lazka.github.io/pgi-docs/ PyGObject API reference
https://python-gtk-3-tutorial.readthedocs.io/ PyGTK tutorial
# Handy tips and tricks
* `apt install gtk3-widget-factory` for widget porn & reference
## Enable the GTK inspector/debugger
It's like the browser's inspector, but for GTK gui applications. Allows you to see the parameters of widgets, change them live, tweak CSS etc etc.
https://wiki.gnome.org/action/show/Projects/GTK/Inspector
In the terminal do: `gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true`
Then `ctrl+shift+i` to inspect an element you are hovering over.