gtk2 3.2.2-x86-mingw32 → 3.2.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86d4b00f7247fef1b19bfc4ea29ad4fa29ffff07a5245cc5e52160669e42b6ae
4
- data.tar.gz: a8a7fd00cd3a8e03903f0ce05e322a879887a3c342cb33e5ca4150f51943f06d
3
+ metadata.gz: 73c110712ebf39f28890fab86bec9aab4d4f8f2bb7cd8edf8d4629305dfce261
4
+ data.tar.gz: bd7233efcb8a436f2d8a9f70ebe7d67441db8043e2316400cc03b8baae58e79e
5
5
  SHA512:
6
- metadata.gz: 986b3d234433d0984e52d61543a2742e26dd82531077a0b2ca3c24de36b3404ef098ce05527b8f5b92b02b863c538f3883235719bb394eba2fae68f6b880762c
7
- data.tar.gz: 37c3c0547c704240faa59f8b9db33fe1eedd0821e8ff2b781a3886445b8cc176d9c5e62085b78241591bb28c130faf320eef9e035ad553160a83c3606b855bfe
6
+ metadata.gz: 456e3131d803ddceb47827a485a0a8a8bca42047e082e6c7ab9457fd7383c9e90c75f2694fef725eb13995aa59dc9cc1424ff58e6ac83fb1b96211f97ae75730
7
+ data.tar.gz: 57b44ff60b7120dcf53129ca359fbdc29292e6c8e0f0011f45439fdecafa8e4f0c8ef2760864b48503ce29d062c117cf602dc4cab54823a7a86dd9e9970305f4
Binary file
Binary file
Binary file
Binary file
@@ -17,18 +17,18 @@ if str = Gtk.check_version(2, 4, 0)
17
17
  end
18
18
 
19
19
  window = Gtk::Window.new("Gtk::ComboBox sample")
20
- window.signal_connect("destroy"){Gtk.main_quit}
20
+ window.signal_connect(:destroy){ Gtk.main_quit }
21
21
 
22
22
  #
23
23
  # Text only
24
24
  #
25
25
  combo1 = Gtk::ComboBox.new
26
- ["foo", "bar", "fuga", "hoge"].each do |val|
26
+ %w( foo bar fuga hoge ).each do |val|
27
27
  combo1.append_text(val)
28
28
  end
29
29
  combo1.active = 1
30
30
 
31
- combo1.signal_connect("changed") do
31
+ combo1.signal_connect(:changed) do
32
32
  p "combo1: #{combo1.active}, #{combo1.active_iter[0]}"
33
33
  end
34
34
 
@@ -58,7 +58,7 @@ combo2.set_attributes(renderer, :text => 1)
58
58
 
59
59
  combo2.active = 2
60
60
 
61
- combo2.signal_connect("changed") do
61
+ combo2.signal_connect(:changed) do
62
62
  p "combo2: #{combo2.active}, #{combo2.active_iter[1]}"
63
63
  end
64
64
 
@@ -66,12 +66,12 @@ end
66
66
  # Gtk::ComboBoxEntry
67
67
  #
68
68
  combo3 = Gtk::ComboBoxEntry.new
69
- ["foo", "bar", "fuga", "hoge"].each do |val|
69
+ %w( foo bar fuga hoge ).each do |val|
70
70
  combo3.append_text(val)
71
71
  end
72
72
  combo3.active = 1
73
73
 
74
- combo3.signal_connect("changed") do
74
+ combo3.signal_connect(:changed) do
75
75
  if combo3.active_iter
76
76
  p "combo3: #{combo3.active}, #{combo3.active_iter[0]}"
77
77
  end
@@ -2,7 +2,7 @@
2
2
  =begin
3
3
  entry.rb - Ruby/GTK2 sample script.
4
4
 
5
- Copyright (c) 2002-2006 Ruby-GNOME2 Project Team
5
+ Copyright (c) 2002-2018 Ruby-GNOME2 Project Team
6
6
  This program is licenced under the same licence as Ruby-GNOME2.
7
7
 
8
8
  $Id: entry.rb,v 1.9 2006/06/17 13:18:12 mutoh Exp $
@@ -22,7 +22,7 @@ box1.add(entry)
22
22
  box1.add(Gtk::HSeparator.new)
23
23
 
24
24
  button = Gtk::Button.new("close")
25
- button.signal_connect("clicked") do
25
+ button.signal_connect(:clicked) do
26
26
  Gtk.main_quit
27
27
  end
28
28
  box1.add(button)
@@ -2,7 +2,7 @@
2
2
  =begin
3
3
  expander.rb - Ruby/GTK2 sample script.
4
4
 
5
- Copyright (c) 2004-2006 Ruby-GNOME2 Project Team
5
+ Copyright (c) 2004-2018 Ruby-GNOME2 Project Team
6
6
  This program is licenced under the same licence as Ruby-GNOME2.
7
7
 
8
8
  $Id: expander.rb,v 1.3 2006/06/17 13:18:12 mutoh Exp $
@@ -14,14 +14,14 @@ expander = Gtk::Expander.new("Expander Sample")
14
14
  expander.expanded = true
15
15
 
16
16
  button = Gtk::Button.new("Hide this button.")
17
- button.signal_connect("clicked") do
17
+ button.signal_connect(:clicked) do
18
18
  expander.expanded = false
19
19
  end
20
20
 
21
21
  button.set_size_request(200, 200)
22
22
  expander.add(button)
23
23
 
24
- Gtk::Window.new.add(expander).show_all.signal_connect("destroy"){Gtk.main_quit}
24
+ Gtk::Window.new.add(expander).show_all.signal_connect(:destroy){ Gtk.main_quit }
25
25
 
26
26
  Gtk.main
27
27
 
@@ -2,7 +2,7 @@
2
2
  =begin
3
3
  frame.rb - Ruby/GTK2 sample script.
4
4
 
5
- Copyright (c) 2002-2006 Ruby-GNOME2 Project Team
5
+ Copyright (c) 2002-2018 Ruby-GNOME2 Project Team
6
6
  This program is licenced under the same licence as Ruby-GNOME2.
7
7
 
8
8
  $Id: frame.rb,v 1.9 2006/06/17 13:18:12 mutoh Exp $
@@ -11,7 +11,7 @@
11
11
  require 'gtk2'
12
12
 
13
13
  window = Gtk::Window.new("buttons")
14
- window.signal_connect("destroy") do
14
+ window.signal_connect(:destroy) do
15
15
  Gtk.main_quit
16
16
  end
17
17
  window.border_width = 0
@@ -59,7 +59,7 @@ box2.border_width = 10
59
59
  box1.pack_start(box2, false, true, 0)
60
60
 
61
61
  button = Gtk::Button.new("close")
62
- button.signal_connect("clicked") do
62
+ button.signal_connect(:clicked) do
63
63
  Gtk.main_quit
64
64
  end
65
65
  box2.pack_start(button)
@@ -4,19 +4,19 @@ require 'gtk2'
4
4
 
5
5
  label=Gtk::Label.new.show
6
6
 
7
- info=Gtk::InfoBar.new
8
- info.no_show_all=true
7
+ info = Gtk::InfoBar.new
8
+ info.no_show_all = true
9
9
  info.content_area.add(label)
10
10
  info.add_button(Gtk::Stock::OK, Gtk::ResponseType::OK)
11
11
  info.signal_connect('response'){|info, response| info.hide}
12
12
 
13
- w=Gtk::Window.new
13
+ w = Gtk::Window.new
14
14
  w.add(info)
15
15
  w.show_all
16
- w.signal_connect("delete_event"){Gtk.main_quit}
16
+ w.signal_connect(:delete_event){ Gtk.main_quit }
17
17
 
18
18
  GLib::Timeout.add_seconds(1){
19
- label.text='ERROR'
19
+ label.text = 'ERROR'
20
20
  info.message_type=Gtk::MessageType::ERROR
21
21
  info.show
22
22
  false
@@ -15,15 +15,15 @@ window = Gtk::Window.new("Keyboard Grab/Ungrab sample")
15
15
  button1 = Gtk::Button.new("Grab Keyboard!")
16
16
  button2 = Gtk::Button.new("Ungrab Keyboard!")
17
17
 
18
- button1.signal_connect('clicked') do
18
+ button1.signal_connect(:clicked) do
19
19
  Gdk.keyboard_grab(window.window, true, Gdk::Event::CURRENT_TIME)
20
20
  end
21
21
 
22
- button2.signal_connect('clicked') do
22
+ button2.signal_connect(:clicked) do
23
23
  Gdk.keyboard_ungrab(Gdk::Event::CURRENT_TIME)
24
24
  end
25
25
 
26
26
  window.add(Gtk::VBox.new.add(button1).add(button2))
27
- window.set_default_size(200,100).show_all.signal_connect("destroy"){Gtk.main_quit}
27
+ window.set_default_size(200,100).show_all.signal_connect(:destroy){Gtk.main_quit}
28
28
 
29
29
  Gtk.main
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gtk2
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.2
4
+ version: 3.2.3
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-02 00:00:00.000000000 Z
11
+ date: 2018-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: atk
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.2
19
+ version: 3.2.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.2.2
26
+ version: 3.2.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pango
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.2.2
33
+ version: 3.2.3
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.2.2
40
+ version: 3.2.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: gdk_pixbuf2
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 3.2.2
47
+ version: 3.2.3
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 3.2.2
54
+ version: 3.2.3
55
55
  description: Ruby/GTK2 is a Ruby binding of GTK+-2.x.
56
56
  email: ruby-gnome2-devel-en@lists.sourceforge.net
57
57
  executables: []