Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
eval s=%q(require"gtk2"
x=y=30
s="eval s=%q(#{s})"
GLib::Timeout.add(50) {
x,c=x+30,s.slice!(0,1)
if c.ord==10
x,y=30,y+30
elsif c.ord!=32
w=Gtk::Window.new
w.set_decorated(false)
w.set_default_size(20,20)
w.add(Gtk::Label.new(c))
w.move(x,y)
w.show_all
end
s!=""
}
Gtk.main())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.