diff --git a/Home.md b/Home.md index 5d320fe..e5fbcd6 100644 --- a/Home.md +++ b/Home.md @@ -1 +1,21 @@ -Hi, here we collect some documentation and resources for developing with Python GTK & Glade \ No newline at end of file +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. \ No newline at end of file