#!/usr/bin/env python3 import gi, sys, os from pprint import pprint as print gi.require_version('Gtk', '3.0') from gi.repository import Gtk, Gdk, GLib, GdkPixbuf class SonistWindow(Gtk.Window): def __init__(self): Gtk.Window.__init__(self) self.set_default_size(480, 320) button = Gtk.Button() self.add(button) self.show_all()