Example #1
0
    def __init__(self):
        # Set some properties
        gtk_settings = Gtk.Settings.get_default()
        gtk_settings.props.gtk_button_images = True

        # On Unity, unable the system to put the menu bar on the top
        gtk_settings.props.gtk_shell_shows_menubar = False

        # Get the connections
        self.connections = Connections()
        self.connections.load_connections()

        # Build the Window
        self.build_window()

        # Connect the signals
        self.connect_events()

        # Main Loop of GTK
        Gtk.main()