#!/usr/bin/env python3

import sys
from gi.repository import GtkClutter
GtkClutter.init([])
from gi.repository import Gtk, Clutter

class MyClutter(GtkClutter.Embed):
    def __init__(self):
        GtkClutter.Embed.__init__(self)
        self.stage = self.get_stage()
        self.show_all()
        
class MainWindow(Gtk.Window):
    def __init__(self):
        Gtk.Window.__init__(self)

        self.add(MyClutter())

if __name__ == "__main__":
    window = MainWindow()
    window.connect("destroy", lambda _: Gtk.main_quit())
    window.show_all()

    Gtk.main()

