1 from gtkmvc import View
6 """This is the view for the 'About' dialog"""
8 def __init__(self, ctrl):
9 View.__init__(self, ctrl, register=False)
11 self['dialog_about'] = gtk.AboutDialog()
12 ctrl.register_view(self)
16 def set_progname(self, text):
17 self['dialog_about'].set_name(text)
20 def set_version(self, text):
21 self['dialog_about'].set_version(text)
24 def set_authors(self, text):
25 self['dialog_about'].set_authors(text)
28 def set_comments(self, text):
29 self['dialog_about'].set_comments(text)
32 def set_license(self, text):
33 self['dialog_about'].set_license(text)
37 res = self['dialog_about'].run()
38 self['dialog_about'].destroy()