mirror of
https://github.com/jlengrand/Ivolution.git
synced 2026-03-10 08:21:18 +00:00
21 lines
554 B
Python
Executable File
21 lines
554 B
Python
Executable File
from gi.repository import Gtk
|
|
|
|
from .. import get_data
|
|
|
|
|
|
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(get_data("/ui/AboutIvolutionDialog.glade"))
|
|
self.window = self.builder.get_object("about_ivolution_dialog")
|
|
|
|
self.window.run()
|
|
self.window.destroy()
|