try: header_image = about_dialog.vbox.get_children()[0].child.get_children()[0] except: pass else: if isinstance(header_image, gtk.Image): header_image.set_from_pixbuf(my_pixbuf) header_image.show()