11.3. Using ItemFactory

Now that we've shown you the hard way, here's how you do it using the gtk.ItemFactory calls.