mirror of
https://github.com/jlengrand/Ivolution.git
synced 2026-03-10 08:21:18 +00:00
Data are now hosted as a subfolder of the code, and all the source files are grouped into the same package. Bin folder has been removed, scripts are now directly placed in the root location. Main package has been renamed to ivolution, this is a first step towards github renaming and full renaming of the project
16 lines
542 B
Python
Executable File
16 lines
542 B
Python
Executable File
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("ivolution/data/ui/AboutIvolutionDialog.glade")
|
|
self.window = self.builder.get_object("about_ivolution_dialog")
|
|
|
|
self.window.run()
|
|
self.window.destroy() |