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 +4 -4
- data/lib/2.2/gtk2.so +0 -0
- data/lib/2.3/gtk2.so +0 -0
- data/lib/2.4/gtk2.so +0 -0
- data/lib/2.5/gtk2.so +0 -0
- data/sample/misc/combobox.rb +6 -6
- data/sample/misc/entry.rb +2 -2
- data/sample/misc/expander.rb +3 -3
- data/sample/misc/frame.rb +3 -3
- data/sample/misc/infobar.rb +5 -5
- data/sample/misc/keyboard_grab.rb +3 -3
- data/vendor/local/bin/gtk-demo.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/libgailutil-18.dll +0 -0
- data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
- data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll.a +0 -0
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7969ed3928289de5047d946b7cb6f98404dbfae0247bec219715f615461970fa
|
4
|
+
data.tar.gz: a91fa96e51a42c203ef254f79dc606405c428357e89b03f87ee571fc946f74c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a758ed8fe237bb7ee4399966b2dbbc973bae5ad3651a035d1b51cb02f68291a12e73a7aa4171625718a37eddd46709219db336d663abc514d453b75b09523249
|
7
|
+
data.tar.gz: 54ec24d62ded889ee99fa39792e090713dea2bdf36c9729e444904f736de543c2ca6bb3f592dd44305d7e06ca09832db68e74167bc43810c7865d2f77fdfbae1
|
data/lib/2.2/gtk2.so
CHANGED
Binary file
|
data/lib/2.3/gtk2.so
CHANGED
Binary file
|
data/lib/2.4/gtk2.so
CHANGED
Binary file
|
data/lib/2.5/gtk2.so
CHANGED
Binary file
|
data/sample/misc/combobox.rb
CHANGED
@@ -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(
|
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
|
-
|
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(
|
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(
|
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
|
-
|
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(
|
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
|
data/sample/misc/entry.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
=begin
|
3
3
|
entry.rb - Ruby/GTK2 sample script.
|
4
4
|
|
5
|
-
Copyright (c) 2002-
|
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(
|
25
|
+
button.signal_connect(:clicked) do
|
26
26
|
Gtk.main_quit
|
27
27
|
end
|
28
28
|
box1.add(button)
|
data/sample/misc/expander.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
=begin
|
3
3
|
expander.rb - Ruby/GTK2 sample script.
|
4
4
|
|
5
|
-
Copyright (c) 2004-
|
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(
|
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(
|
24
|
+
Gtk::Window.new.add(expander).show_all.signal_connect(:destroy){ Gtk.main_quit }
|
25
25
|
|
26
26
|
Gtk.main
|
27
27
|
|
data/sample/misc/frame.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
=begin
|
3
3
|
frame.rb - Ruby/GTK2 sample script.
|
4
4
|
|
5
|
-
Copyright (c) 2002-
|
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(
|
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(
|
62
|
+
button.signal_connect(:clicked) do
|
63
63
|
Gtk.main_quit
|
64
64
|
end
|
65
65
|
box2.pack_start(button)
|
data/sample/misc/infobar.rb
CHANGED
@@ -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(
|
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(
|
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(
|
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(
|
27
|
+
window.set_default_size(200,100).show_all.signal_connect(:destroy){Gtk.main_quit}
|
28
28
|
|
29
29
|
Gtk.main
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
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.
|
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-
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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: []
|