GTK has its own way of dealing with application defaults, by using rc files. These can be used to set the colors of just about any widget, and can also be used to tile pixmaps onto the background of some widgets.
When your application starts, it reads the default RC files.
What if you have a function which you want to be called when nothing else is happening?
Example rc file