def on_about(self, widget, *args):
"""About Dialog
What it says on the box
"""
print "About Gtk Info"
logo = self.icon
dialog = gtk.AboutDialog()
dialog.set_name('Gtk Info')
dialog.set_version(str(__version__))
dialog.set_authors([__maintainer__])
dialog.set_documenters([__maintainer__])
dialog.set_logo(logo)
comment = 'A graphical interface for displaying system information'
dialog.set_comments(comment)
response = dialog.run()
if response == -6:
dialog.destroy()
return
评论列表
文章目录