Sha256: af6b6caeb6dfd1565c3ef0f6971a8de4033ac35f77f63bec359c8a8aa94aecb1

Contents?: true

Size: 1.17 KB

Versions: 24

Compression:

Stored size: 1.17 KB

Contents

#!/usr/bin/env ruby
=begin
  aboutdialog2.rb - Ruby/GTK sample script.

  Copyright (c) 2005-2015 Ruby-GNOME2 Project Team
  This program is licenced under the same licence as Ruby-GNOME2.
=end
require "gtk3"

unless Gtk::Version.or_later?(3, 4, 2)
  puts "This sample requires GTK+ 3.4.2 or later: #{Gtk::Version::STRING}"
  exit
end

Gtk::AboutDialog.show(nil,
		      "artists" => ["Artist 1 <no1@foo.bar.com>", "Artist 2 <no2@foo.bar.com>"],
		      "authors" => ["Author 1 <no1@foo.bar.com>", "Author 2 <no2@foo.bar.com>"],
		      "comments" => "This is a sample script for Gtk::AboutDialog",
		      "copyright" => "Copyright (C) 2005 Ruby-GNOME2 Project",
		      "documenters" => ["Documenter 1 <no1@foo.bar.com>", "Documenter 2 <no2@foo.bar.com>"],
		      "license" => "This program is licenced under the same licence as Ruby-GNOME2.",
		      "logo_icon_name" => "gtk-home",
		      "program_name" => "Gtk::AboutDialog sample",
		      "translator_credits" => "Translator 1 <no1@foo.bar.com>\nTranslator 2 <no2@foo.bar.com>\n",
		      "version" => "1.0.0",
		      "website" => "https://ruby-gnome2.osdn.jp",
		      "website_label" => "Ruby-GNOME2 Project Website"
		      )

Gtk.main

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
gtk3-3.4.1 sample/misc/aboutdialog2.rb
gtk3-3.4.0 sample/misc/aboutdialog2.rb
gtk3-3.3.9 sample/misc/aboutdialog2.rb
gtk3-3.3.8 sample/misc/aboutdialog2.rb
gtk3-3.3.7 sample/misc/aboutdialog2.rb
gtk3-3.3.6 sample/misc/aboutdialog2.rb
gtk3-3.3.5 sample/misc/aboutdialog2.rb
gtk3-3.3.4 sample/misc/aboutdialog2.rb
gtk3-3.3.3 sample/misc/aboutdialog2.rb
gtk3-3.3.2 sample/misc/aboutdialog2.rb
gtk3-3.3.1 sample/misc/aboutdialog2.rb
gtk3-3.3.0 sample/misc/aboutdialog2.rb
gtk3-3.2.9-x64-mingw32 sample/misc/aboutdialog2.rb
gtk3-3.2.9-x86-mingw32 sample/misc/aboutdialog2.rb
gtk3-3.2.9 sample/misc/aboutdialog2.rb
gtk3-3.2.8-x64-mingw32 sample/misc/aboutdialog2.rb
gtk3-3.2.8-x86-mingw32 sample/misc/aboutdialog2.rb
gtk3-3.2.8 sample/misc/aboutdialog2.rb
gtk3-3.2.7-x86-mingw32 sample/misc/aboutdialog2.rb
gtk3-3.2.7-x64-mingw32 sample/misc/aboutdialog2.rb