Utility functions for writing GTK+ apps in Python