Initial data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 72d218235f
commit f23f22d71c
199087 changed files with 3378941 additions and 0 deletions

View file

@ -0,0 +1,8 @@
require 'gtk2'
window = Gtk::Window.new
window.title = 'Goodbye, World'
window.signal_connect(:delete-event) { Gtk.main_quit }
window.show_all
Gtk.main

View file

@ -0,0 +1,4 @@
require 'tk'
root = TkRoot.new("title" => "User Output")
TkLabel.new(root, "text"=>"CHUNKY BACON!").pack("side"=>'top')
Tk.mainloop

View file

@ -0,0 +1,5 @@
#_Note: this code MUST be executed through the Shoes GUI!!
Shoes.app do
para "CHUNKY BACON!", :size => 72
end

View file

@ -0,0 +1,16 @@
require 'gosu'
class Window < Gosu::Window
def initialize
super(150, 50, false)
@font = Gosu::Font.new(self, "Arial", 32)
end
def draw
@font.draw("Hello world", 0, 10, 1, 1, 1)
end
end
Window.new.show

View file

@ -0,0 +1,6 @@
#_Note: this code must not be executed through a GUI
require 'green_shoes'
Shoes.app do
para "Hello world"
end

View file

@ -0,0 +1,2 @@
require 'win32ole'
WIN32OLE.new('WScript.Shell').popup("Hello world")