Sha256: 8fea3bdc4c6d0ee0ae5478da4f8c87d0f2b757c1a1cc448082a07c6d00d86a63

Contents?: true

Size: 424 Bytes

Versions: 69

Compression:

Stored size: 424 Bytes

Contents

# Copyright (c) 2008-2015 Ruby-GNOME2 Project Team
# This program is licenced under the same licence as Ruby-GNOME2.
#
=begin
= test demo 

Demonstrates the demo interface.
=end
module TestModDemo

  def self.run_demo(window)
    puts "ok"
    window = Gtk::Window.new(:toplevel)
    window.add(Gtk::Label.new("This is a test"))

    if !window.visible?
      window.show_all
    else
      window.destroy
    end
  end
end

Version data entries

69 entries across 61 versions & 2 rubygems

Version Path
gtk3-3.2.5-x64-mingw32 sample/gtk-demo/test_mod.rb
gtk3-3.2.5-x86-mingw32 sample/gtk-demo/test_mod.rb
gtk3-3.2.5 sample/gtk-demo/test_mod.rb
gtk3-3.2.4-x64-mingw32 sample/gtk-demo/test_mod.rb
gtk3-3.2.4-x86-mingw32 sample/gtk-demo/test_mod.rb
gtk3-3.2.4 sample/gtk-demo/test_mod.rb
gtk3-3.2.3-x64-mingw32 sample/gtk-demo/test_mod.rb
gtk3-3.2.3-x86-mingw32 sample/gtk-demo/test_mod.rb
gtk3-3.2.3 sample/gtk-demo/test_mod.rb
gtk3-3.2.2-x64-mingw32 sample/gtk-demo/test_mod.rb
gtk3-3.2.2-x86-mingw32 sample/gtk-demo/test_mod.rb
gtk3-3.2.2 sample/gtk-demo/test_mod.rb
gtk3-3.2.1-x64-mingw32 sample/gtk-demo/test_mod.rb
gtk3-3.2.1-x86-mingw32 sample/gtk-demo/test_mod.rb
gtk3-3.2.1 sample/gtk-demo/test_mod.rb
gtk3-3.2.0-x86-mingw32 sample/gtk-demo/test_mod.rb
gtk3-3.2.0-x64-mingw32 sample/gtk-demo/test_mod.rb
gtk3-3.2.0 sample/gtk-demo/test_mod.rb
gtk3-3.1.9-x64-mingw32 sample/gtk-demo/test_mod.rb
gtk3-3.1.9-x86-mingw32 sample/gtk-demo/test_mod.rb