gtk2 3.2.2-x64-mingw32 → 3.2.3-x64-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: bf254031a47ec0a898fef25ce4beeb90bd33132ef115e2c62dbd38da92f4d698
4
- data.tar.gz: c8430aa36463d3dca541de028843e8d2e2e2cfcb5dd315307c97f1d468503461
3
+ metadata.gz: 7969ed3928289de5047d946b7cb6f98404dbfae0247bec219715f615461970fa
4
+ data.tar.gz: a91fa96e51a42c203ef254f79dc606405c428357e89b03f87ee571fc946f74c8
5
5
  SHA512:
6
- metadata.gz: 8b21398a435a7ed29ba79333fce1e01db420ccb2f1127c199d044861b638ef74cfed24f8e1a462078cc7852e1def478718e519cb3619322800b72c74fe6fcbce
7
- data.tar.gz: a4ffa26a637fc67f63da79de13337a281f7034b295affa5c90d140f614116f01e31cecd07ca283dc5512fbbcaa019dfaf871cb7037facfd758db99d1be2db8ab
6
+ metadata.gz: a758ed8fe237bb7ee4399966b2dbbc973bae5ad3651a035d1b51cb02f68291a12e73a7aa4171625718a37eddd46709219db336d663abc514d453b75b09523249
7
+ data.tar.gz: 54ec24d62ded889ee99fa39792e090713dea2bdf36c9729e444904f736de543c2ca6bb3f592dd44305d7e06ca09832db68e74167bc43810c7865d2f77fdfbae1
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: x64-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: []