ruby-****@sourc*****
ruby-****@sourc*****
2013年 3月 23日 (土) 08:46:07 JST
------------------------- REMOTE_ADDR = 70.49.48.128 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-dancr-rbcatut ------------------------- @@ -90,18 +90,18 @@ -((*minimal-rb-cr.rb*)) + ((*minimal-rb-cr.rb*)) -{{image_right("1203-00-min-cr-rb-prg-s1.png")}} - #!/usr/bin/env ruby + {{image_right("1203-00-min-cr-rb-prg-s1.png")}} + #!/usr/bin/env ruby - $: << '~/work/HikiLib' - require 'hiki2-gtk-w-cairo.rb' - include HikiGtk + $: << '~/work/HikiLib' + require 'hiki2-gtk-w-cairo.rb' + include HikiGtk - window=CairoWindow.new("Minimal Cairo Program") - window.show_all - Gtk.main + window=CairoWindow.new("Minimal Cairo Program") + window.show_all + Gtk.main As you can see, if you run this program it displays an empty grey cairo drawing area.