Improvement to default Python Gtk+ 3 application code regarding picking widget objects from UI file
I struggled with this for some time during GUADEC so I think it could do with one line improvement. Thing is way we tie objects identified with 'id' key/value from GtkBuilder file - way it is done currently is not fully clear, and alternative path is not clearly understood. I think we should add comment line above label element in window.py file when generating default project that explains how this works and you can do it only during initialisation of class. For example
# provide name of element identified by key 'id' value found in window.ui file
# or identify it trough Child() parameter, e.g. label_first = Gtk.Template.Child('label')
label = Gtk.Template.Child()
This would give very short introduction how you can bind GTk+ object described in GtkBuilder file and would avoid confusion.