Python GTK+ 3

Tutorial Scale image automatically to fit parent widget Reference allocation = parent_widget.get_allocation() desired_width = allocation.width desired_height = allocation.height pixbuf = gtk.gdk.pixbuf_new_from_file('your_image.png') pixbuf =...

Programming

General programming notes. Adding documentation to Devhelp Adding PyGobject docs as an example: git clone https://github.com/pygobject/pgi-docs-devhelp.git ~/.local/share/devhelp/books To update docs: cd ~/.local/share/devhelp/books git pull