Files
Ivolution/AboutDialog.py
2012-07-18 15:43:44 +02:00

17 lines
595 B
Python

from gi.repository import Gtk
class AboutDialog():
def __init__(self):
"""Special static method that's automatically called by Python when
constructing a new instance of this class.
Returns a fully instantiated AboutDialog object.
"""
self.builder = Gtk.Builder()
self.builder.add_from_file("data/ui/AboutIvolutionDialog.glade")
self.window = self.builder.get_object("about_ivolution_dialog")
#self.ui = self.builder.get_ui(self)
self.window.show()
self.builder.connect_signals(self)